Skip to main content
Module

x/grammy_hydrate/deps.deno.ts>Message.CaptionableMessage

Hydration plugin for API calls and context objects.
Latest
interface Message.CaptionableMessage
implements CommonMessage
import { type Message } from "https://deno.land/x/grammy_hydrate@v1.4.1/deps.deno.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