View Source ExTDLib.Object.Message (ExTDLib v0.0.4)

Describes a message.

NameTypeDescription
idstringMessage identifier; unique for the chat to which the message belongs.
sender_idMessageSenderIdentifier of the sender of the message.
chat_idstringChat identifier.
sending_stateMessageSendingStateThe sending state of the message; may be null if the message isn't being sent and didn't fail to be sent.
scheduling_stateMessageSchedulingStateThe scheduling state of the message; may be null if the message isn't scheduled.
is_outgoingboolTrue, if the message is outgoing.
is_pinnedboolTrue, if the message is pinned.
can_be_editedboolTrue, 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.
can_be_forwardedboolTrue, if the message can be forwarded.
can_be_replied_in_another_chatboolTrue, if the message can be replied in another chat or topic.
can_be_savedboolTrue, if content of the message can be saved locally or copied.
can_be_deleted_only_for_selfboolTrue, if the message can be deleted only for the current user while other users will continue to see it.
can_be_deleted_for_all_usersboolTrue, if the message can be deleted for all users.
can_get_added_reactionsboolTrue, if the list of added reactions is available through getMessageAddedReactions.
can_get_statisticsboolTrue, if the message statistics are available through getMessageStatistics.
can_get_message_threadboolTrue, if information about the message thread is available through getMessageThread and getMessageThreadHistory.
can_get_viewersboolTrue, if chat members already viewed the message can be received through getMessageViewers.
can_get_media_timestamp_linksboolTrue, if media timestamp links can be generated for media timestamp entities in the message text, caption or web page description through getMessageLink.
can_report_reactionsboolTrue, if reactions on the message can be reported through reportMessageReactions.
has_timestamped_mediaboolTrue, if media timestamp entities refers to a media in this message as opposed to a media in the replied message.
is_channel_postboolTrue, if the message is a channel post. All messages to channels are channel posts, all other messages are not channel posts.
is_topic_messageboolTrue, if the message is a forum topic message.
contains_unread_mentionboolTrue, if the message contains an unread mention for the current user.
datenumberPoint in time (Unix timestamp) when the message was sent.
edit_datenumberPoint in time (Unix timestamp) when the message was last edited.
forward_infomessageForwardInfoInformation about the initial message sender; may be null if none or unknown.
import_infomessageImportInfoInformation about the initial message for messages created with importMessages; may be null if the message isn't imported.
interaction_infomessageInteractionInfoInformation about interactions with the message; may be null if none.
unread_reactionsunreadReactionInformation about unread reactions added to the message.
reply_toMessageReplyToInformation about the message or the story this message is replying to; may be null if none.
message_thread_idstringIf non-zero, the identifier of the message thread the message belongs to; unique within the chat to which the message belongs.
self_destruct_typeMessageSelfDestructTypeThe message's self-destruct type; may be null if none.
self_destruct_indoubleTime left before the message self-destruct timer expires, in seconds; 0 if self-destruction isn't scheduled yet.
auto_delete_indoubleTime left before the message will be automatically deleted by message_auto_delete_time setting of the chat, in seconds; 0 if never.
via_bot_user_idstringIf non-zero, the user identifier of the bot through which this message was sent.
author_signaturestringFor channel posts and anonymous group messages, optional author signature.
media_album_idstringUnique identifier of an album this message belongs to. Only audios, documents, photos and videos can be grouped together in albums.
restriction_reasonstringIf non-empty, contains a human-readable description of the reason why access to this message must be restricted.
contentMessageContentContent of the message.
reply_markupReplyMarkupReply markup for the message; may be null if none.

More details on telegram's documentation.