CommonMessage
Extends
Properties
sender_boost_count
sender_boost_count?: number;
If the sender of the message boosted the chat, the number of boosts added by the user
sender_business_bot
sender_business_bot?: User;
The bot that actually sent the message on behalf of the business account. Available only for outgoing messages sent on behalf of the connected business account.
forward_origin
forward_origin?: MessageOrigin;
Information about the original message for forwarded messages
is_automatic_forward
is_automatic_forward?: true;
True, if the message is a channel post that was automatically forwarded to the connected discussion group
reply_to_message
reply_to_message?: ReplyMessage;
For replies in the same chat and message thread, the original message. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply.
external_reply
external_reply?: ExternalReplyInfo;
Information about the message that is being replied to, which may come from another chat or forum topic
quote
quote?: TextQuote;
For replies that quote part of the original message, the quoted part of the message
reply_to_story
reply_to_story?: Story;
For replies to a story, the original message
via_bot
via_bot?: User;
Bot through which the message was sent
edit_date
edit_date?: number;
Date the message was last edited in Unix time
has_protected_content
has_protected_content?: true;
True, if the message can’t be forwarded
show_caption_above_media
show_caption_above_media?: true;
True, if the caption must be shown above the message media
is_from_offline
is_from_offline?: true;
True, if the message was sent by an implicit action, for example, as an away or a greeting business message, or as a scheduled message
author_signature
author_signature?: string;
Signature of the post author for messages in channels, or the custom title of an anonymous group administrator
link_preview_options
link_preview_options?: LinkPreviewOptions;
Options used for link preview generation for the message, if it is a text message and link preview options were changed
effect_id
effect_id?: string;
Unique identifier of the message effect added to the message
reply_markup
reply_markup?: InlineKeyboardMarkup;
Inline keyboard attached to the message. login_url buttons are represented as ordinary url buttons.