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.

Returns:

List[Chat] – The list of chats.

Example

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