messages.GetSponsoredMessages#

class pyrogram.raw.functions.messages.GetSponsoredMessages#

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

Details:
  • Layer: 198

  • ID: 9BD2F439

Parameters:

peer (InputPeer) – The currently open channel/bot.

Returns:

messages.SponsoredMessages