account.uploadTheme
Upload theme
Example
TL schema
Parameters
Name | Type | Description |
flags | Flags, see TL conditional fields | |
file | Theme file uploaded as described in files ยป | |
thumb | Thumbnail | |
file_name | File name | |
mime_type | MIME type, must be application/x-tgtheme-{format}, where format depends on the client |
Result
Possible errors
Code | Type | Description |
400 | THEME_FILE_INVALID | Invalid theme file provided |
Can bots use this methd ?
yes
Related pages
How to transfer large data batches correctly.
Last updated