-
static class
A basic group (a chat with 0-200 other users).
static class
An ordinary chat with a user.
static class
A secret chat with a user.
static class
A supergroup or channel (with unlimited members).
The type of the chat from which the query originated; may be null if unknown.
Chat(long id,
TdApi.ChatType type,
String title,
TdApi.ChatPhotoInfo photo,
int accentColorId,
long backgroundCustomEmojiId,
int profileAccentColorId,
long profileBackgroundCustomEmojiId,
TdApi.ChatPermissions permissions,
TdApi.Message lastMessage,
TdApi.ChatPosition[] positions,
TdApi.ChatList[] chatLists,
TdApi.MessageSender messageSenderId,
TdApi.BlockList blockList,
boolean hasProtectedContent,
boolean isTranslatable,
boolean isMarkedAsUnread,
boolean viewAsTopics,
boolean hasScheduledMessages,
boolean canBeDeletedOnlyForSelf,
boolean canBeDeletedForAllUsers,
boolean canBeReported,
boolean defaultDisableNotification,
int unreadCount,
long lastReadInboxMessageId,
long lastReadOutboxMessageId,
int unreadMentionCount,
int unreadReactionCount,
TdApi.ChatNotificationSettings notificationSettings,
TdApi.ChatAvailableReactions availableReactions,
int messageAutoDeleteTime,
TdApi.EmojiStatus emojiStatus,
TdApi.ChatBackground background,
String themeName,
TdApi.ChatActionBar actionBar,
TdApi.BusinessBotManageBar businessBotManageBar,
TdApi.VideoChat videoChat,
TdApi.ChatJoinRequestsInfo pendingJoinRequests,
long replyMarkupMessageId,
TdApi.DraftMessage draftMessage,
String clientData)
A new incoming inline query; for bots only.