SendAsPeer

class hydrogram.raw.types.SendAsPeer[source]

Indicates a peer that can be used to send messages

Constructor of SendAsPeer.

Details:
  • Layer: 181

  • ID: B81C7034

Parameters:
  • peer (Peer) – Peer

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