Module

x/grammy_types/mod.ts>Message.CaptionableMessage

Type declarations of the Telegram Bot API.
Go to Latest
interface Message.CaptionableMessage
implements CommonMessage
import { type Message } from "https://dotland.deno.dev/x/grammy_types@v3.14.0/mod.ts";
const { CaptionableMessage } = Message;

Properties

optional
caption: string

Caption for the animation, audio, document, photo, video or voice

optional
caption_entities: MessageEntity[]

For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption