A sponsored message.

sponsoredMessage#2a3c381f flags:# random_id:bytes from_id:Peer start_param:flags.0?string message:string entities:flags.1?Vector<MessageEntity> = SponsoredMessage;


Name Type Description
flags # Flags, see TL conditional fields
random_id bytes Message ID
from_id Peer ID of the sender of the message
start_param flags.0?string Parameter for the bot start message if the sponsored chat is a chat with a bot.
message string Sponsored message
entities flags.1?Vector<MessageEntity> Message entities for styled text



Related pages

Sponsored messages

How to implement sponsored messages

Styled text with message entities

How to create styled text with message entities