Peer#

class pyrogram.raw.base.Peer#

Chat partner or group.

Constructors:

This base type has 3 constructors available.

PeerChannel

Channel/supergroup.

PeerChat

Group.

PeerUser

Chat partner.

Functions:

This object can be returned by 1 function.

chatlists.GetLeaveChatlistSuggestions

Returns identifiers of pinned or always included chats from a chat folder imported using a chat folder deep link », which are suggested to be left when the chat folder is deleted.