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

x/grammy/types.ts>Message.CaptionableMessage

The Telegram Bot Framework.
Very Popular
Go to Latest
interface Message.CaptionableMessage
implements CommonMessage
import { type Message } from "https://deno.land/x/grammy@v1.31.2/types.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