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

x/grammy_types/message.ts>MessageId

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

This object represents a unique message identifier.

Properties

message_id: number

Unique message identifier. In specific instances (e.g., message containing a video sent to a big chat), the server might automatically schedule a message instead of sending it immediately. In such cases, this field will be 0 and the relevant message will be unusable until it is actually sent