View Source ExTDLib.Object.SponsoredMessage (ExTDLib v0.0.4)
Describes a sponsored message.
| Name | Type | Description |
|---|---|---|
| message_id | string | Message identifier; unique for the chat to which the sponsored message belongs among both ordinary and sponsored messages. |
| is_recommended | bool | True, if the message needs to be labeled as "recommended" instead of "sponsored". |
| content | MessageContent | Content of the message. Currently, can be only of the type messageText. |
| sponsor | messageSponsor | Information about the sponsor of the message. |
| button_text | string | If non-empty, text for the message action button. |
| additional_info | string | If non-empty, additional information about the sponsored message to be shown along with the message. |
More details on telegram's documentation.