# Uses of Class it.tdlight.jni.TdApi.ChatType (tdlight API 3.3.160 API)
use: package: it.tdlight.jni, class: TdApi, class: ChatType

# Uses of Class
it.tdlight.jni.TdApi.ChatType

## Uses of TdApi.ChatType in it.tdlight.jni

Subclasses of TdApi.ChatType in it.tdlight.jni
Modifier and Type | Class | Description
--- | --- | ---
`static class` | `TdApi.ChatTypeBasicGroup` | A basic group (a chat with 0-200 other users).
`static class` | `TdApi.ChatTypePrivate` | An ordinary chat with a user.
`static class` | `TdApi.ChatTypeSecret` | A secret chat with a user.
`static class` | `TdApi.ChatTypeSupergroup` | A supergroup or channel (with unlimited members).

Fields in it.tdlight.jni declared as TdApi.ChatType
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.ChatType` | TdApi.UpdateNewInlineQuery.`chatType` | Contains information about the type of the chat, from which the query originated; may be null if unknown.
`TdApi.ChatType` | TdApi.Chat.`type` | Type of the chat.
`TdApi.ChatType` | TdApi.ChatInviteLinkInfo.`type` | Contains information about the type of the chat.

Constructors in it.tdlight.jni with parameters of type TdApi.ChatType
Constructor | Description
--- | ---

`Chat​(long id, TdApi.ChatType type, String title, TdApi.ChatPhotoInfo photo, TdApi.ChatPermissions permissions, TdApi.Message lastMessage, TdApi.ChatPosition[] positions, boolean isMarkedAsUnread, boolean isBlocked, boolean hasScheduledMessages, boolean canBeDeletedOnlyForSelf, boolean canBeDeletedForAllUsers, boolean canBeReported, boolean defaultDisableNotification, int unreadCount, long lastReadInboxMessageId, long lastReadOutboxMessageId, int unreadMentionCount, TdApi.ChatNotificationSettings notificationSettings, int messageTtlSetting, String themeName, TdApi.ChatActionBar actionBar, TdApi.VoiceChat voiceChat, long replyMarkupMessageId, TdApi.DraftMessage draftMessage, String clientData)`

A chat.

`ChatInviteLinkInfo​(long chatId, int accessibleFor, TdApi.ChatType type, String title, TdApi.ChatPhotoInfo photo, int memberCount, long[] memberUserIds, boolean isPublic)` | Contains information about a chat invite link.
`UpdateNewInlineQuery​(long id, long senderUserId, TdApi.Location userLocation, TdApi.ChatType chatType, String query, String offset)` | A new incoming inline query; for bots only.