-
static final class
The chat is a private or secret chat
and the other user can be added to
the contact list using the method addContact.
static final class
The chat is a recently created group
chat to which new members can be invited.
static final class
The chat is a private chat with an
administrator of a chat to which the
user sent join request.
static final class
The chat is a private or secret chat,
which can be reported using the method
reportChat, or the other user can be
blocked using the method
toggleMessageSenderIsBlocked, or the
other user can be added to the contact
list using the method addContact.
static final class
The chat can be reported as spam using
the method reportChat with the reason chatReportReasonSpam.
static final class
The chat is a location-based supergroup,
which can be reported as having
unrelated location using the method
reportChat with the reason chatReportReasonUnrelatedLocation.
static final class
The chat is a private or secret chat
with a mutual contact and the user's
phone number can be shared with the
other user using the method sharePhoneNumber.
Information about actions which must
be possible to do through the chat
action bar; may be null.
The new value of the action bar; may be null.
Chat(long id,
TdApi.ChatType type,
String title,
TdApi.ChatPhotoInfo photo,
TdApi.ChatPermissions permissions,
TdApi.Message lastMessage,
TdApi.ChatPosition[] positions,
TdApi.MessageSender messageSenderId,
boolean hasProtectedContent,
boolean isMarkedAsUnread,
boolean isBlocked,
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 messageTtl,
String themeName,
TdApi.ChatActionBar actionBar,
TdApi.VideoChat videoChat,
TdApi.ChatJoinRequestsInfo pendingJoinRequests,
long replyMarkupMessageId,
TdApi.DraftMessage draftMessage,
String clientData)
The chat action bar was changed.