ChatType

class hydrogram.enums.ChatType[source]

Chat type enumeration used in Chat.

PRIVATE = 'private'

Chat is a private chat with a user

BOT = 'bot'

Chat is a private chat with a bot

GROUP = 'group'

Chat is a basic group

SUPERGROUP = 'supergroup'

Chat is a supergroup

CHANNEL = 'channel'

Chat is a channel