SponsoredMessage

---types---
sponsoredMessage#3a836df8 flags:# recommended:flags.5?true show_peer_photo:flags.6?true random_id:bytes from_id:flags.3?Peer chat_invite:flags.4?ChatInvite chat_invite_hash:flags.4?string channel_post:flags.2?int start_param:flags.0?string message:string entities:flags.1?Vector<MessageEntity> = SponsoredMessage

Belongs to

SponsoredMessage

This type can only be an instance of:

SponsoredMessage

Members

messagestring
recommendedflagThis argument defaults to None and can be omitted.
show_peer_photoflagThis argument defaults to None and can be omitted.
random_idbytesIf left unspecified, it will be inferred automatically.
from_idPeerThis argument defaults to None and can be omitted.
chat_inviteChatInviteThis argument defaults to None and can be omitted.
chat_invite_hashstringThis argument defaults to None and can be omitted.
channel_postintThis argument defaults to None and can be omitted.
start_paramstringThis argument defaults to None and can be omitted.
entitiesMessageEntityThis argument defaults to None and can be omitted. Otherwise, a list must be supplied.