Td Api Chat Type - OTR/Kotlin-Telegram-Client GitHub Wiki

Class TdApi.ChatType

Description

This class is an abstract base class. Describes the type of a chat.

Subclasses

Class TdApi.ChatTypeBasicGroup

A basic group (a chat with 0-200 other users).

Property

  • basicGroupId : Long - Basic group identifier.

Class TdApi.ChatTypePrivate

An ordinary chat with a user.

Property

  • userId : Long - User identifier.

Class TdApi.ChatTypeSecret

A secret chat with a user.

Property

  • secretChatId : Int - Secret chat identifier.
  • userId : Long - User identifier of the secret chat peer.

Class TdApi.ChatTypeSupergroup

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.

Reference