get_send_as_chats()

Client.get_send_as_chats()

Get the list of “send_as” chats available.

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the target chat. You can also use chat public link in form of t.me/<username> (str).

  • for_paid_reactions (bool, optional) – Pass True to get the list of available send_as chats for paid reactions.

Returns:

List[Chat] – The list of chats.

Example

chats = await app.get_send_as_chats(chat_id)
print(chats)