Td Api Chat Type - OTR/Kotlin-Telegram-Client GitHub Wiki
TdApi.ChatType
Class Description
This class is an abstract base class. Describes the type of a chat.
Subclasses
TdApi.ChatTypeBasicGroup
Class A basic group (a chat with 0-200 other users).
Property
basicGroupId
: Long - Basic group identifier.
TdApi.ChatTypePrivate
Class An ordinary chat with a user.
Property
userId
: Long - User identifier.
TdApi.ChatTypeSecret
Class A secret chat with a user.
Property
secretChatId
: Int - Secret chat identifier.userId
: Long - User identifier of the secret chat peer.
TdApi.ChatTypeSupergroup
Class A supergroup (i.e. a chat with up to GetOption("supergroup_max_size") other users), or channel (with unlimited members).
Properties
isChannel
: Boolean - True, if the supergroup is a channel.supergroupId
: Long - Supergroup or channel identifier.