TDLib v0.0.2 TDLib.Object.InputMessagePhoto View Source
A photo message.
Name | Type | Description |
---|---|---|
photo | InputFile | Photo to send. |
thumbnail | inputThumbnail | Photo thumbnail to be sent, this is sent to the other party in secret chats only. |
added_sticker_file_ids | number[] | File identifiers of the stickers added to the photo, if applicable. |
width | number | Photo width. |
height | number | Photo height. |
caption | formattedText | Photo caption; 0-200 characters. |
ttl | number | Photo 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.