messages.GetFutureChatCreatorAfterLeave

class pyrogram.raw.functions.messages.GetFutureChatCreatorAfterLeave[source]

Group/channel owners only: returns the ID of the user that will become the new owner of the group if we decide to leave the group, see here » for more info on the full flow.

Usable by Users Bots
Details:
  • Layer: 229

  • ID: 3B7D0EA6

Parameters:

peer (InputPeer) – The basic group/supergroup/channel we’re about to leave.

Returns:

User