messages.getSponsoredMessages

Get a list of sponsored messages for a peer, see here » for more info.

 Method schema is available as of layer 192. Switch »

Parameters

Name Type Description
peer InputPeer The currently open channel/bot.

Result

messages.SponsoredMessages

Bots can use this method

Related pages

Sponsored messages