channels.GetSendAs#

class pyrogram.raw.functions.channels.GetSendAs#

Obtains a list of peers that can be displayed as the sender in a specific context. With for_live_stories, returns peers that may author live story in-call messages.

Usable by Users Bots
Details:
  • Layer: 227

  • ID: E785A43F

Parameters:
  • peer (InputPeer) – The target peer; when for_live_stories is set, the peer that owns the live story.

  • for_paid_reactions (bool, optional) – If set, fetches the list of peers that can be used to send paid reactions to messages of a specific peer.

  • for_live_stories (bool, optional) – Fetch the peers that may be passed to phone.sendGroupCallMessage.send_as to comment or react in a live story ».

Returns:

channels.SendAsPeers