account.uploadTheme

Upload theme

documentEmpty#36f8c871 id:long = Document;
document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector<PhotoSize> dc_id:int attributes:Vector<DocumentAttribute> = Document;
---functions---
account.uploadTheme#1c3db333 flags:# file:InputFile thumb:flags.0?InputFile file_name:string mime_type:string = Document;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
file InputFile Theme file uploaded as described in files ยป
thumb flags.0?InputFile Thumbnail
file_name string File name
mime_type string MIME type, must be application/x-tgtheme-{format}, where format depends on the client

Result

Document

Related pages

Uploading and Downloading Files

How to transfer large data batches correctly.