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

x/grammy_types/mod.ts>Message.MediaMessage

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

Properties

optional
media_group_id: string

The unique identifier of a media message group this message belongs to

optional
has_media_spoiler: true

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