Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/mod.ts>ExternalReplyInfo

Type declarations of the Telegram Bot API.
Latest
interface ExternalReplyInfo
import { type ExternalReplyInfo } from "https://deno.land/x/grammy_types@v3.16.0/mod.ts";

This object contains information about a message that is being replied to, which may come from another chat or forum topic.

Properties

Origin of the message replied to by the given message

optional
chat: Chat

Chat the original message belongs to. Available only if the chat is a supergroup or a channel.

optional
message_id: number

Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel.

optional
animation: Animation

Message is an animation, information about the animation

optional
audio: Audio

Message is an audio file, information about the file

optional
document: Document

Message is a general file, information about the file

optional
photo: PhotoSize[]

Message is a photo, available sizes of the photo

optional
sticker: Sticker

Message is a sticker, information about the sticker

optional
story: Story

Message is a forwarded story

optional
video: Video

Message is a video, information about the video

optional
video_note: VideoNote

Message is a video note, information about the video message

optional
voice: Voice

Message is a voice message, information about the file

optional
has_media_spoiler: true

True, if the message media is covered by a spoiler animation

optional
contact: Contact

Message is a shared contact, information about the contact

optional
dice: Dice

Message is a dice with random value

optional
game: Game

Message is a game, information about the game. More about games »

optional
giveaway: Giveaway

Message is a scheduled giveaway, information about the giveaway

optional
giveaway_winners: GiveawayWinners

A giveaway with public winners was completed

optional
invoice: Invoice

Message is an invoice for a payment, information about the invoice. More about payments »

optional
location: Location

Message is a shared location, information about the location

optional
paid_media: PaidMediaInfo

Message contains paid media; information about the paid media

optional
poll: Poll

Message is a native poll, information about the poll

optional
venue: Venue

Message is a venue, information about the venue