Optional
animationOptional. Message is an animation, information about the animation. For backward compatibility, when this field is set, the document field will also be set
Optional
audioOptional. Message is an audio file, information about the file
Optional
author_Optional. Signature of the post author for messages in channels, or the custom title of an anonymous group administrator
Optional
captionOptional. Caption for the animation, audio, document, photo, video or voice
Optional
caption_Optional. For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption
Optional
channel_Optional. 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.
Conversation the message belongs to
Optional
chat_Optional. Service message: a chat was shared with the bot
Optional
connected_Optional. The domain name of the website on which the user has logged in. More about Telegram Login »
Optional
contactOptional. Message is a shared contact, information about the contact
Date the message was sent in Unix time
Optional
delete_Optional. Service message: the chat photo was deleted
Optional
diceOptional. Message is a dice with random value
Optional
documentOptional. Message is a general file, information about the file
Optional
edit_Optional. Date the message was last edited in Unix time
Optional
entitiesOptional. For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text
Optional
forum_Optional. Service message: forum topic closed
Optional
forum_Optional. Service message: forum topic created
Optional
forum_Optional. Service message: forum topic edited
Optional
forum_Optional. Service message: forum topic reopened
Optional
forward_Optional. For forwarded messages, date the original message was sent in Unix time
Optional
forward_Optional. For forwarded messages, sender of the original message
Optional
forward_Optional. For messages forwarded from channels or from anonymous administrators, information about the original sender chat
Optional
forward_Optional. For messages forwarded from channels, identifier of the original message in the channel
Optional
forward_Optional. Sender's name for messages forwarded from users who disallow adding a link to their account in forwarded messages
Optional
forward_Optional. For forwarded messages that were originally sent in channels or by an anonymous chat administrator, signature of the message sender if present
Optional
fromOptional. Sender of the message; empty for messages sent to channels. For backward compatibility, the field contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat.
Optional
gameOptional. Message is a game, information about the game. More about games »
Optional
general_Optional. Service message: the 'General' forum topic hidden
Optional
general_Optional. Service message: the 'General' forum topic unhidden
Optional
group_Optional. Service message: the group has been created
Optional
has_Optional. True, if the message media is covered by a spoiler animation
Optional
has_Optional. True, if the message can't be forwarded
Optional
invoiceOptional. Message is an invoice for a payment, information about the invoice. More about payments »
Optional
is_Optional. True, if the message is a channel post that was automatically forwarded to the connected discussion group
Optional
is_Optional. True, if the message is sent to a forum topic
Optional
left_Optional. A member was removed from the group, information about them (this member may be the bot itself)
Optional
locationOptional. Message is a shared location, information about the location
Optional
media_Optional. The unique identifier of a media message group this message belongs to
Optional
message_Optional. Service message: auto-delete timer settings changed in the chat
Unique message identifier inside this chat
Optional
message_Optional. Unique identifier of a message thread to which the message belongs; for supergroups only
Optional
migrate_Optional. The supergroup has been migrated from a group with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
Optional
migrate_Optional. The group has been migrated to a supergroup with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
Optional
new_Optional. New members that were added to the group or supergroup and information about them (the bot itself may be one of these members)
Optional
new_Optional. A chat photo was change to this value
Optional
new_Optional. A chat title was changed to this value
Optional
passport_Optional. Telegram Passport data
Optional
photoOptional. Message is a photo, available sizes of the photo
Optional
pinned_Optional. Specified message was pinned. Note that the Message object in this field will not contain further reply_to_message fields even if it is itself a reply.
Optional
pollOptional. Message is a native poll, information about the poll
Optional
proximity_Optional. Service message. A user in the chat triggered another user's proximity alert while sharing Live Location.
Optional
reply_Optional. Inline keyboard attached to the message. login_url buttons are represented as ordinary url buttons.
Optional
reply_Optional. For replies, 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.
Optional
sender_Optional. Sender of the message, sent on behalf of a chat. For example, the channel itself for channel posts, the supergroup itself for messages from anonymous group administrators, the linked channel for messages automatically forwarded to the discussion group. For backward compatibility, the field from contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat.
Optional
stickerOptional. Message is a sticker, information about the sticker
Optional
successful_Optional. Message is a service message about a successful payment, information about the payment. More about payments »
Optional
supergroup_Optional. 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.
Optional
textOptional. For text messages, the actual UTF-8 text of the message
Optional
user_Optional. Service message: a user was shared with the bot
Optional
venueOptional. Message is a venue, information about the venue. For backward compatibility, when this field is set, the location field will also be set
Optional
via_Optional. Bot through which the message was sent
Optional
videoOptional. Message is a video, information about the video
Optional
video_Optional. Service message: video chat ended
Optional
video_Optional. Service message: new participants invited to a video chat
Optional
video_Optional. Service message: video chat scheduled
Optional
video_Optional. Service message: video chat started
Optional
video_Optional. Message is a video note, information about the video message
Optional
voiceOptional. Message is a voice message, information about the file
Optional
web_Optional. Service message: data sent by a Web App
Optional
write_Optional. Service message: the user allowed the bot added to the attachment menu to write messages
Generated using TypeDoc
This object represents a message.