messages.GetFutureChatCreatorAfterLeave#

class pyrogram.raw.functions.messages.GetFutureChatCreatorAfterLeave#

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.

Details:
  • Layer: 225

  • ID: 3B7D0EA6

Parameters:

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

Returns:

User