SponsoredMessage

---types---
sponsoredMessage#bdedf566 flags:# recommended:flags.5?true can_report:flags.12?true random_id:bytes url:string title:string message:string entities:flags.1?Vector<MessageEntity> photo:flags.6?Photo color:flags.13?PeerColor button_text:string sponsor_info:flags.7?string additional_info:flags.8?string = SponsoredMessage

Belongs to

SponsoredMessage

This type can only be an instance of:

SponsoredMessage

Members

urlstring
titlestring
messagestring
button_textstring
recommendedflagThis argument defaults to None and can be omitted.
can_reportflagThis argument defaults to None and can be omitted.
random_idbytesIf left unspecified, it will be inferred automatically.
entitiesMessageEntityThis argument defaults to None and can be omitted. Otherwise, a list must be supplied.
photoPhotoThis argument defaults to None and can be omitted.
colorPeerColorThis argument defaults to None and can be omitted.
sponsor_infostringThis argument defaults to None and can be omitted.
additional_infostringThis argument defaults to None and can be omitted.