import { Message } from "https://deno.land/x/grammy@v1.13.0/types.ts";
import { type Message } from "https://deno.land/x/grammy@v1.13.0/types.ts";
Properties
For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text
Message is an animation, information about the animation. For backward compatibility, when this field is set, the document field will also be set
Message is an audio file, information about the file
Message is a general file, information about the file
Message is a photo, available sizes of the photo
Message is a sticker, information about the sticker
Message is a video, information about the video
Message is a video note, information about the video message
Message is a voice message, information about the file
Message is a shared contact, information about the contact
Message is a dice with random value
Message is a game, information about the game. More about games »
Message is a native poll, information about the poll
Message is a venue, information about the venue. For backward compatibility, when this field is set, the location field will also be set
Message is a shared location, information about the location
New members that were added to the group or supergroup and information about them (the bot itself may be one of these members)
A member was removed from the group, information about them (this member may be the bot itself)
A chat photo was change to this value
Service message: the supergroup has been created. This field can't be received in a message coming through updates, because bot can't be a member of a supergroup when it is created. It can only be found in reply_to_message if someone replies to a very first message in a directly created supergroup.
Service message: the channel has been created. This field can't be received in a message coming through updates, because bot can't be a member of a channel when it is created. It can only be found in reply_to_message if someone replies to a very first message in a channel.
Service message: auto-delete timer settings changed in the chat
The group has been migrated to a supergroup with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
The supergroup has been migrated from a group with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
Specified message was pinned. Note that the Message object in this field will not contain further reply_to_message fields even if it is itself a reply.
Message is an invoice for a payment, information about the invoice. More about payments »
Message is a service message about a successful payment, information about the payment. More about payments »
The domain name of the website on which the user has logged in. More about Telegram Login »
Service message: the user allowed the bot added to the attachment menu to write messages
Telegram Passport data
Service message. A user in the chat triggered another user's proximity alert while sharing Live Location.
Service message: forum topic created
Service message: forum topic edited
Service message: forum topic closed
Service message: forum topic reopened
Service message: video chat scheduled
Service message: video chat started
Service message: video chat ended
Service message: new participants invited to a video chat
Service message: data sent by a Web App