-
Constructors in it.tdlight.jni with parameters of type TdApi.Message
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.
|
ChatEventMessageDeleted(TdApi.Message message) |
A message was deleted.
|
ChatEventMessageEdited(TdApi.Message oldMessage,
TdApi.Message newMessage) |
A message was edited.
|
ChatEventMessagePinned(TdApi.Message message) |
A message was pinned.
|
ChatEventMessageUnpinned(TdApi.Message message) |
A message was unpinned.
|
ChatEventPollStopped(TdApi.Message message) |
A poll in a message was stopped.
|
FoundMessages(int totalCount,
TdApi.Message[] messages,
String nextOffset) |
Contains a list of messages found by a search.
|
MessageLinkInfo(boolean isPublic,
long chatId,
TdApi.Message message,
int mediaTimestamp,
boolean forAlbum,
boolean forComment) |
Contains information about a link to
a message in a chat.
|
Messages(int totalCount,
TdApi.Message[] messages) |
Contains a list of messages.
|
MessageThreadInfo(long chatId,
long messageThreadId,
TdApi.MessageReplyInfo replyInfo,
int unreadMessageCount,
TdApi.Message[] messages,
TdApi.DraftMessage draftMessage) |
Contains information about a message thread.
|
NotificationTypeNewMessage(TdApi.Message message) |
New message was received.
|
UpdateChatLastMessage(long chatId,
TdApi.Message lastMessage,
TdApi.ChatPosition[] positions) |
The last message of a chat was changed.
|
UpdateMessageSendFailed(TdApi.Message message,
long oldMessageId,
int errorCode,
String errorMessage) |
A message failed to send.
|
UpdateMessageSendSucceeded(TdApi.Message message,
long oldMessageId) |
A message has been successfully sent.
|
UpdateNewMessage(TdApi.Message message) |
A new message was received; can also
be an outgoing message.
|