TopChatCategory

class pyrogram.enums.TopChatCategory

Bases: AutoName

Represents the categories of chats for which a list of frequently used chats can be retrieved. Used in get_top_chats().

USERS = 'users'

A category containing frequently used private chats with non-bot users

BOTS = 'bots'

A category containing frequently used private chats with bot users

GROUPS = 'groups'

A category containing frequently used basic groups and supergroups

CHANNELS = 'channels'

A category containing frequently used channels

INLINE_BOTS = 'inline_bots'

A category containing frequently used chats with inline bots sorted by their usage in inline mode

GUEST_BOTS = 'guest_bots'

A category containing frequently used chats with bots, which were used as guest bots

WEB_APP_BOTS = 'web_app_bots'

A category containing frequently used chats with bots, which Web Apps were opened

CALLS = 'calls'

A category containing frequently used chats used for calls

FORWARD_CHATS = 'forward_chats'

A category containing frequently used chats used to forward messages