-
static final class
The message will be sent at the specified date.
static final class
The message will be sent when the peer will be online.
The new message scheduling state; pass null to send the message immediately.
The scheduling state of the message; may be null.
Message scheduling state; pass null to send message immediately.
Edits the time when a scheduled message will be sent.
Message(long id,
TdApi.MessageSender senderId,
long chatId,
TdApi.MessageSendingState sendingState,
TdApi.MessageSchedulingState schedulingState,
boolean isOutgoing,
boolean isPinned,
boolean canBeEdited,
boolean canBeForwarded,
boolean canBeSaved,
boolean canBeDeletedOnlyForSelf,
boolean canBeDeletedForAllUsers,
boolean canGetAddedReactions,
boolean canGetStatistics,
boolean canGetMessageThread,
boolean canGetViewers,
boolean canGetMediaTimestampLinks,
boolean canReportReactions,
boolean hasTimestampedMedia,
boolean isChannelPost,
boolean isTopicMessage,
boolean containsUnreadMention,
int date,
int editDate,
TdApi.MessageForwardInfo forwardInfo,
TdApi.MessageInteractionInfo interactionInfo,
TdApi.UnreadReaction[] unreadReactions,
long replyInChatId,
long replyToMessageId,
long messageThreadId,
int selfDestructTime,
double selfDestructIn,
double autoDeleteIn,
long viaBotUserId,
String authorSignature,
long mediaAlbumId,
String restrictionReason,
TdApi.MessageContent content,
TdApi.ReplyMarkup replyMarkup)
Options to be used when a message is sent.