Skip to content

getChatOwnerAfterLeaving

Function · TDLib 1.8.67 · d1085f9c

Returns the user who will become the owner of the chat after 7 days if the current user does not return to the supergroup or channel during that period or immediately for basic groups; requires owner privileges in the chat. Available only for basic groups, supergroups, and channel chats

getChatOwnerAfterLeaving(
  chat_id: int53
) → User

chat_id

int53

Chat identifier