Chats

class pyrogram.raw.types.messages.Chats

List of chats with auxiliary data.

Constructor type of Chats.

Details
  • Layer: 122

  • ID: 0x64ff9fd5

Parameters

chats (List of Chat) – List of chats.

Methods

This object can be returned by 7 methods:

messages.GetChats

Returns chat basic info on their IDs.

messages.GetCommonChats

Get chats in common with a user.

messages.GetAllChats

Get all chats, channels and supergroups.

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.

channels.GetGroupsForDiscussion

Get all groups that can be used as discussion groups.