1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 08:42:03 +01:00
MadelineProto/docs/API_docs/constructors/sendMessageUploadPhotoAction.md
2017-07-23 16:33:46 +02:00

809 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}