get_send_as_chats()

Client.get_send_as_chats()

Get the list of “send_as” chats available.

Parameters

chat_id (int | str) – Unique identifier (int) or username (str) of the target chat.

Returns

List[Chat] – The list of chats.

Example

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