import { Message } from "https://dotland.deno.dev/x/grammy@v1.11.1/types.ts";
import { type Message } from "https://dotland.deno.dev/x/grammy@v1.11.1/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 a venue, information about the venue. For backward compatibility, when this field is set, the location field will also be set
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)
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 »
Service message. A user in the chat triggered another user's proximity alert while sharing Live Location.
Service message: new participants invited to a video chat