messages.Chats¶
- class pyrogram.raw.base.messages.Chats[source]¶
Object contains list of chats with auxiliary data.
- Constructors:
This base type has 2 constructors available.
List of chats with auxiliary data.
Partial list of chats, more would have to be fetched with pagination
- Functions:
This object can be returned by 9 functions.
Returns chat basic info on their IDs.
Get chats in common with a user
Get info about channels/supergroups
Get channels/supergroups/geogroups we're admin in. Usually called when the user exceeds the limit for owned public channels/supergroups/geogroups, and the user is given the choice to remove one of his channels/supergroups/geogroups.
Get a list of channels/supergroups we left, requires a takeout session, see here » for more info.
Get all groups that can be used as discussion groups.
Obtain a list of similarly themed public channels, selected based on similarities in their subscriber bases.
Obtain a list of channels where the user can post stories
Details: