OptionalanimationMessage is an animation, information about the animation. For backward compatibility, when this field is set, the document field will also be set.
OptionalaudioMessage is an audio file, information about the file
Optionalauthor_Signature of the post author for messages in channels, or the custom title of an anonymous group administrator
Optionalboost_Service message: user boosted the chat
Optionalbusiness_Unique identifier of the business connection from which the message was received. If non-empty, the message belongs to a chat of the corresponding business account that is independent from any potential bot chat which might share the same identifier.
OptionalcaptionCaption for the animation, audio, document, photo, video or voice
Optionalcaption_For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption
Optionalchannel_Service message: the channel has been created. This field can't be received in a message coming through updates, because bot can't be a member of a channel when it is created. It can only be found in reply_to_message if someone replies to a very first message in a channel.
Chat the message belongs to
Optionalchat_Optionalchat_Service message: chat owner has changed
Optionalchat_Service message: chat owner has left
Optionalchat_Service message: a chat was shared with the bot
OptionalchecklistMessage is a checklist
Optionalchecklist_Service message: tasks were added to a checklist
Optionalchecklist_Service message: some tasks in a checklist were marked as done or not done
Optionalconnected_The domain name of the website on which the user has logged in.
OptionalcontactMessage is a shared contact, information about the contact
Date the message was sent in Unix time. It is always a positive number, representing a valid date.
Optionaldelete_Service message: the chat photo was deleted
OptionaldiceMessage is a dice with random value
Optionaldirect_Service message: the price for paid messages in the corresponding direct messages chat of a channel has changed
Optionaldirect_Information about the direct messages chat topic that contains the message
OptionaldocumentMessage is a general file, information about the file
Optionaledit_Date the message was last edited in Unix time
Optionaleffect_Unique identifier of the message effect added to the message
OptionalentitiesFor text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text
Optionalexternal_Information about the message that is being replied to, which may come from another chat or forum topic
Optionalforum_Service message: forum topic closed
Optionalforum_Service message: forum topic created
Optionalforum_Service message: forum topic edited
Optionalforum_Service message: forum topic reopened
Optionalforward_Information about the original message for forwarded messages
OptionalfromSender of the message; may be empty for messages sent to channels. For backward compatibility, if the message was sent on behalf of a chat, the field contains a fake sender user in non-channel chats.
OptionalgameMessage is a game, information about the game.
Optionalgeneral_Service message: the 'General' forum topic hidden
Optionalgeneral_Service message: the 'General' forum topic unhidden
OptionalgiftService message: a regular gift was sent or received
Optionalgift_Service message: upgrade of a gift was purchased after the gift was sent
OptionalgiveawayThe message is a scheduled giveaway message
Optionalgiveaway_Service message: a giveaway without public winners was completed
Optionalgiveaway_Service message: a scheduled giveaway was created
Optionalgiveaway_A giveaway with public winners was completed
Optionalgroup_Service message: the group has been created
Optionalguest_For a message sent by a guest bot, this is the chat whose original message triggered the bot's response.
Optionalguest_For a message sent by a guest bot, this is the user whose original message triggered the bot's response.
Optionalguest_The unique identifier for the guest query. Use this identifier with the method answerGuestQuery to send a response message. If non-empty, the message belongs to the chat where the guest bot was summoned, which may not coincide with other existing bot chats sharing the same identifier.
Optionalhas_True, if the message media is covered by a spoiler animation
Optionalhas_True, if the message can't be forwarded
OptionalinvoiceMessage is an invoice for a payment, information about the invoice.
Optionalis_True, if the message is a channel post that was automatically forwarded to the connected discussion group
Optionalis_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
Optionalis_True, if the message is a paid post. Note that such posts must not be deleted for 24 hours to receive the payment and can't be edited.
Optionalis_True, if the message is sent to a topic in a forum supergroup or a private chat with the bot
Optionalleft_A member was removed from the group, information about them (this member may be the bot itself)
Optionallink_Options used for link preview generation for the message, if it is a text message and link preview options were changed
Optionallive_Message is a live photo, information about the live photo. For backward compatibility, when this field is set, the photo field will also be set
OptionallocationMessage is a shared location, information about the location
Optionalmanaged_Service message: user created a bot that will be managed by the current bot
Optionalmedia_The unique identifier inside this chat of a media message group this message belongs to
Optionalmessage_Service message: auto-delete timer settings changed in the chat
Unique message identifier inside this chat. In specific instances (e.g., message containing a video sent to a big chat), the server might automatically schedule a message instead of sending it immediately. In such cases, this field will be 0 and the relevant message will be unusable until it is actually sent.
Optionalmessage_Unique identifier of a message thread or forum topic to which the message belongs; for supergroups and private chats only
Optionalmigrate_The supergroup has been migrated from a group with the specified identifier.
Optionalmigrate_The group has been migrated to a supergroup with the specified identifier.
Optionalnew_New members that were added to the group or supergroup and information about them (the bot itself may be one of these members)
Optionalnew_A chat photo was change to this value
Optionalnew_A chat title was changed to this value
Optionalpaid_Message contains paid media; information about the paid media
Optionalpaid_Service message: the price for paid messages has changed in the chat
Optionalpaid_The number of Telegram Stars that were paid by the sender of the message to send it
Optionalpassport_Telegram Passport data
OptionalphotoMessage is a photo, available sizes of the photo
Optionalpinned_Specified message was pinned. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply.
OptionalpollMessage is a native poll, information about the poll
Optionalpoll_Service message: answer option was added to a poll
Optionalpoll_Service message: answer option was deleted from a poll
Optionalproximity_Service message. A user in the chat triggered another user's proximity alert while sharing Live Location.
OptionalquoteFor replies that quote part of the original message, the quoted part of the message
Optionalrefunded_Message is a service message about a refunded payment, information about the payment.
Optionalreply_Inline keyboard attached to the message. login_url buttons are represented as ordinary url buttons.
Optionalreply_Identifier of the specific checklist task that is being replied to
Optionalreply_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.
Optionalreply_Persistent identifier of the specific poll option that is being replied to
Optionalreply_For replies to a story, the original message
Optionalsender_If the sender of the message boosted the chat, the number of boosts added by the user
Optionalsender_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.
Optionalsender_Sender of the message when sent on behalf of a chat. For example, the supergroup itself for messages sent by its anonymous administrators or a linked channel for messages automatically forwarded to the channel's discussion group. For backward compatibility, if the message was sent on behalf of a chat, the field from contains a fake sender user in non-channel chats.
Optionalsender_Tag or custom title of the sender of the message; for supergroups only
Optionalshow_True, if the caption must be shown above the message media
OptionalstickerMessage is a sticker, information about the sticker
OptionalstoryMessage is a forwarded story
Optionalsuccessful_Message is a service message about a successful payment, information about the payment.
Optionalsuggested_Service message: approval of a suggested post has failed
Optionalsuggested_Service message: a suggested post was approved
Optionalsuggested_Service message: a suggested post was declined
Optionalsuggested_Information about suggested post parameters if the message is a suggested post in a channel direct messages chat. If the message is an approved or declined suggested post, then it can't be edited.
Optionalsuggested_Service message: payment for a suggested post was received
Optionalsuggested_Service message: payment for a suggested post was refunded
Optionalsupergroup_Service message: the supergroup has been created. This field can't be received in a message coming through updates, because bot can't be a member of a supergroup when it is created. It can only be found in reply_to_message if someone replies to a very first message in a directly created supergroup.
OptionaltextFor text messages, the actual UTF-8 text of the message
Optionalunique_Service message: a unique gift was sent or received
Optionalusers_Service message: users were shared with the bot
OptionalvenueMessage is a venue, information about the venue. For backward compatibility, when this field is set, the location field will also be set.
Optionalvia_Bot through which the message was sent
OptionalvideoMessage is a video, information about the video
Optionalvideo_Service message: video chat ended
Optionalvideo_Service message: new participants invited to a video chat
Optionalvideo_Service message: video chat scheduled
Optionalvideo_Service message: video chat started
Optionalvideo_Message is a video note, information about the video message
OptionalvoiceMessage is a voice message, information about the file
Optionalweb_Service message: data sent by a Web App
Optionalwrite_Service message: the user allowed the bot to write messages after adding it to the attachment or side menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess
This object represents a message.