1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 23:07:21 +01:00
MadelineProto/docs/API_docs/constructors/sendMessageUploadPhotoAction.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}