MadelineProtoDocs/docs/TD_docs/constructors/inputMessagePhoto.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1019 B

title description image
inputMessagePhoto Photo message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputMessagePhoto

Back to constructors index

Photo message

Attributes:

Name Type Required Description
photo InputFile Yes Photo to send
thumb inputThumb Yes Photo thumb to send, is sent to the other party in secret chats only
added_sticker_file_ids Array of int Yes File identifiers of stickers added onto the photo
width int Yes Photo width
height int Yes Photo height
caption string Yes Photo caption, 0-200 characters
ttl int Yes Photo TTL in seconds, 0-60. Non-zero TTL can be only specified in private chats

Type: InputMessageContent