content
Content of the message.
doublebooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanlongstatic final intbooleanintintlongbooleanlongbooleanbooleanbooleanbooleanbooleanlonglonglongdoubleintlonglongMessage()Message(long id,
TdApi.MessageSender senderId,
long chatId,
TdApi.MessageSendingState sendingState,
TdApi.MessageSchedulingState schedulingState,
boolean isOutgoing,
boolean isPinned,
boolean isFromOffline,
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.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) inttoStringid - Message identifier; unique for the chat to which the message belongs.senderId - Identifier of the sender of the message.chatId - Chat identifier.sendingState - The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent.schedulingState - The scheduling state of the message; may be null if the message isn't scheduled.isOutgoing - True, if the message is outgoing.isPinned - True, if the message is pinned.isFromOffline - True, if the message was sent because of a scheduled action by the message sender, for example, as away, or greeting service message.canBeEdited - True, if the message can be edited. For live location and poll messages this fields shows whether editMessageLiveLocation or stopPoll can be used with this message by the application.canBeForwarded - True, if the message can be forwarded.canBeRepliedInAnotherChat - True, if the message can be replied in another chat or topic.canBeSaved - True, if content of the message can be saved locally or copied.canBeDeletedOnlyForSelf - True, if the message can be deleted only for the current user while other users will continue to see it.canBeDeletedForAllUsers - True, if the message can be deleted for all users.canGetAddedReactions - True, if the list of added reactions is available through getMessageAddedReactions.canGetStatistics - True, if the message statistics are available through getMessageStatistics.canGetMessageThread - True, if information about the message thread is available through getMessageThread and getMessageThreadHistory.canGetReadDate - True, if read date of the message can be received through getMessageReadDate.canGetViewers - True, if chat members already viewed the message can be received through getMessageViewers.canGetMediaTimestampLinks - True, if media timestamp links can be generated for media timestamp entities in the message text, caption or link preview description through getMessageLink.canReportReactions - True, if reactions on the message can be reported through reportMessageReactions.hasTimestampedMedia - True, if media timestamp entities refers to a media in this message as opposed to a media in the replied message.isChannelPost - True, if the message is a channel post. All messages to channels are channel posts, all other messages are not channel posts.isTopicMessage - True, if the message is a forum topic message.containsUnreadMention - True, if the message contains an unread mention for the current user.date - Point in time (Unix timestamp) when the message was sent.editDate - Point in time (Unix timestamp) when the message was last edited.forwardInfo - Information about the initial message sender; may be null if none or unknown.importInfo - Information about the initial message for messages created with importMessages; may be null if the message isn't imported.interactionInfo - Information about interactions with the message; may be null if none.unreadReactions - Information about unread reactions added to the message.factCheck - Information about fact-check added to the message; may be null if none.replyTo - Information about the message or the story this message is replying to; may be null if none.messageThreadId - If non-zero, the identifier of the message thread the message belongs to; unique within the chat to which the message belongs.savedMessagesTopicId - Identifier of the Saved Messages topic for the message; 0 for messages not from Saved Messages.selfDestructType - The message's self-destruct type; may be null if none.selfDestructIn - Time left before the message self-destruct timer expires, in seconds; 0 if self-destruction isn't scheduled yet.autoDeleteIn - Time left before the message will be automatically deleted by messageAutoDeleteTime setting of the chat, in seconds; 0 if never.viaBotUserId - If non-zero, the user identifier of the inline bot through which this message was sent.senderBusinessBotUserId - If non-zero, the user identifier of the business bot that sent this message.senderBoostCount - Number of times the sender of the message boosted the supergroup at the time the message was sent; 0 if none or unknown. For messages sent by the current user, supergroupFullInfo.myBoostCount must be used instead.authorSignature - For channel posts and anonymous group messages, optional author signature.mediaAlbumId - Unique identifier of an album this message belongs to; 0 if none. Only audios, documents, photos and videos can be grouped together in albums.effectId - Unique identifier of the effect added to the message; 0 if none.restrictionReason - If non-empty, contains a human-readable description of the reason why access to this message must be restricted.content - Content of the message.replyMarkup - Reply markup for the message; may be null if none.TdApi.ObjectgetConstructor in class TdApi.Object