get_future_chat_creator_after_leave()¶
- async Client.get_future_chat_creator_after_leave()¶
Get the user who will become the creator of a chat after the current creator leaves.
Usable by Users Bots- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target chat.- Returns:
User– The future creator.
Example
user = await app.get_future_chat_creator_after_leave(chat_id)