messages.Chats

class pyrogram.raw.types.messages.Chats

List of chats with auxiliary data.

Constructor of Chats.

Details:
  • Layer: 194

  • ID: 64FF9FD5

Parameters:

chats (List of Chat) – List of chats

Functions:

This object can be returned by 8 functions.

messages.GetChats

Returns chat basic info on their IDs.

messages.GetCommonChats

Get chats in common with a user

channels.GetChannels

Get info about channels/supergroups

channels.GetAdminedPublicChannels

Get channels/supergroups/geogroups we're admin in.

channels.GetLeftChannels

Get a list of channels/supergroups we left, requires a takeout session, see here » for more info.

channels.GetGroupsForDiscussion

Get all groups that can be used as discussion groups.

channels.GetChannelRecommendations

Obtain a list of similarly themed public channels, selected based on similarities in their subscriber bases.

stories.GetChatsToSend

Obtain a list of channels where the user can post stories