MadelineProto/docs/TD_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}