-
static final class
The message can be opened only once and will be self-destructed once
closed.
static final class
The message will be self-destructed in the specified time after its
content was opened.
Photo self-destruct type; pass null if none; private chats only.
Video self-destruct type; pass null if none; private chats only.
Video note self-destruct type; may be null if none; pass null if none; private chats only.
Voice note self-destruct type; may be null if none; pass null if none; private chats only.
The message's self-destruct type; may be null if none.
Message(long id,
TdApi.MessageSender senderId,
long chatId,
TdApi.MessageSendingState sendingState,
TdApi.MessageSchedulingState schedulingState,
boolean isOutgoing,
boolean isPinned,
boolean canBeEdited,
boolean canBeForwarded,
boolean canBeRepliedInAnotherChat,
boolean canBeSaved,
boolean canBeDeletedOnlyForSelf,
boolean canBeDeletedForAllUsers,
boolean canGetAddedReactions,
boolean canGetStatistics,
boolean canGetMessageThread,
boolean canGetReadDate,
boolean canGetViewers,
boolean canGetMediaTimestampLinks,
boolean canReportReactions,
boolean hasTimestampedMedia,
boolean isChannelPost,
boolean isTopicMessage,
boolean containsUnreadMention,
int date,
int editDate,
TdApi.MessageForwardInfo forwardInfo,
TdApi.MessageImportInfo importInfo,
TdApi.MessageInteractionInfo interactionInfo,
TdApi.UnreadReaction[] unreadReactions,
TdApi.MessageReplyTo replyTo,
long messageThreadId,
long savedMessagesTopicId,
TdApi.MessageSelfDestructType selfDestructType,
double selfDestructIn,
double autoDeleteIn,
long viaBotUserId,
int senderBoostCount,
String authorSignature,
long mediaAlbumId,
String restrictionReason,
TdApi.MessageContent content,
TdApi.ReplyMarkup replyMarkup)