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

x/grammy/types.ts>MessageId

The Telegram Bot Framework.
Very Popular
Latest
interface MessageId
Re-export
import { type MessageId } from "https://deno.land/x/grammy@v1.31.0/types.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