-
static class
The message can be opened only once and will be self-destructed once closed.
static 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.
InputMessageVideo(TdApi.InputFile video,
TdApi.InputThumbnail thumbnail,
int[] addedStickerFileIds,
int duration,
int width,
int height,
boolean supportsStreaming,
TdApi.FormattedText caption,
boolean showCaptionAboveMedia,
TdApi.MessageSelfDestructType selfDestructType,
boolean hasSpoiler)
Message(long id,
TdApi.MessageSender senderId,
long chatId,
TdApi.MessageSendingState sendingState,
TdApi.MessageSchedulingState schedulingState,
boolean isOutgoing,
boolean isPinned,
boolean isFromOffline,
boolean canBeSaved,
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.FactCheck factCheck,
TdApi.MessageReplyTo replyTo,
long messageThreadId,
long savedMessagesTopicId,
TdApi.MessageSelfDestructType selfDestructType,
double selfDestructIn,
double autoDeleteIn,
long viaBotUserId,
long senderBusinessBotUserId,
int senderBoostCount,
String authorSignature,
long mediaAlbumId,
long effectId,
String restrictionReason,
TdApi.MessageContent content,
TdApi.ReplyMarkup replyMarkup)