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).

Returns:

list[Chat] – The list of chats.

Example

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