1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 17:26:58 +01:00
MadelineProto/docs/TD_docs/constructors/sendMessageUploadPhotoAction.md
2017-07-23 16:11:02 +02:00

812 B

title description
sendMessageUploadPhotoAction User uploads a photo

Constructor: sendMessageUploadPhotoAction

Back to constructors index

User uploads a photo

Attributes:

Name Type Required Description
progress int Yes Upload progress in percents

Type: SendMessageAction

Example:

$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ];

PWRTelegram json-encoded version:

{"_":"sendMessageUploadPhotoAction","progress":"int"}

Or, if you're into Lua:

sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int, }