SendAsPeer#

class pyrogram.raw.types.SendAsPeer[source]#

Indicates a peer that can be used to send messages

Constructor of SendAsPeer.

Details:
  • Layer: 224

  • ID: B81C7034

Parameters:
  • peer (Peer) – Peer

  • premium_required (bool, optional) – Whether a Telegram Premium account is required to send messages as this peer