TDLib v0.0.2 TDLib.Object.InputMessagePhoto View Source

A photo message.

NameTypeDescription
photoInputFilePhoto to send.
thumbnailinputThumbnailPhoto thumbnail to be sent, this is sent to the other party in secret chats only.
added_sticker_file_idsnumber[]File identifiers of the stickers added to the photo, if applicable.
widthnumberPhoto width.
heightnumberPhoto height.
captionformattedTextPhoto caption; 0-200 characters.
ttlnumberPhoto TTL (Time To Live), in seconds (0-60). A non-zero TTL can be specified only in private chats.

More details on telegram’s documentation.