SendAsPeer

class pyrogram.raw.types.SendAsPeer

Indicates a peer that can be used to send messages

Constructor of SendAsPeer.

Details:
  • Layer: 194

  • ID: B81C7034

Parameters:
  • peer (Peer) – Peer

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