Data about the contains information about a message that is being replied to, which may come from another chat or forum topic
Optional
animationMessage is an animation, information about the animation
Optional
audioMessage is an audio file, information about the file
Optional
chatChat the original message belongs to. Available only if the chat is a supergroup or a channel
Optional
contactMessage is a shared contact, information about the contact
Optional
diceMessage is a dice with random value
Optional
documentMessage is a general file, information about the file
Optional
gameMessage is a game, information about the game. More about games
Optional
giveawayMessage is a scheduled giveaway, information about the giveaway
Optional
giveawayA giveaway with public winners was completed
Optional
invoiceMessage is an invoice for a payment, information about the invoice. More about payments
Optional
linkOptions used for link preview generation for the original message, if it is a text message
Optional
locationMessage is a shared location, information about the location
Optional
mediaTrue, if the message media is covered by a spoiler animation
Optional
messageUnique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel
Origin of the message replied to by the given message
Optional
paidMessage contains paid media; information about the paid media
Optional
photoMessage is a photo, available sizes of the photo
Optional
pollMessage is a native poll, information about the poll
Optional
stickerMessage is a sticker, information about the sticker
Optional
storyMessage is a forwarded story
Optional
venueMessage is a venue, information about the venue
Optional
videoMessage is a video, information about the video
Optional
videoMessage is a video note, information about the video message
Optional
voiceMessage is a voice message, information about the file
The client that instantiated this
Protected
_cloneProtected
_updateFlatten an object. Any properties that are collections will get converted to an array of keys.
Optional
propsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Rest
...props: Record<string, string | boolean>[]Optional. Specific properties to include/exclude, or rename.
Flattened object.
The client that instantiated this