View Source ExTDLib.Object.SponsoredMessage (ExTDLib v0.0.4)

Describes a sponsored message.

NameTypeDescription
message_idstringMessage identifier; unique for the chat to which the sponsored message belongs among both ordinary and sponsored messages.
is_recommendedboolTrue, if the message needs to be labeled as "recommended" instead of "sponsored".
contentMessageContentContent of the message. Currently, can be only of the type messageText.
sponsormessageSponsorInformation about the sponsor of the message.
button_textstringIf non-empty, text for the message action button.
additional_infostringIf non-empty, additional information about the sponsored message to be shown along with the message.

More details on telegram's documentation.