import * as grammyTypes from "https://deno.land/x/grammy_types@v3.2.2/message.ts";
Interfaces
This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound). | |
This object represents an audio file to be treated as music by the Telegram clients. | |
This object contains information about the chat whose identifier was shared with the bot using a KeyboardButtonRequestChat button. | |
This object represents a phone contact. | |
I Dice | This object represents an animated emoji that displays a random value. |
This object represents a general file (as opposed to photos, voice messages and audio files). | |
This object represents a service message about a forum topic closed in the chat. Currently holds no information. | |
This object represents a service message about a new forum topic created in the chat. | |
This object represents a service message about an edited forum topic. | |
This object represents a service message about a forum topic reopened in the chat. Currently holds no information. | |
I Game | This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers. |
This object represents one row of the high scores table for a game. | |
This object represents a service message about General forum topic hidden in the chat. Currently holds no information. | |
This object represents a service message about General forum topic unhidden in the chat. Currently holds no information. | |
This object represents a point on the map. | |
This object describes the position on faces where a mask should be placed by default. | |
This object represents a service message about a change in auto-delete timer settings. | |
This object represents a unique message identifier. | |
This object represents one size of a photo or a file / sticker thumbnail. | |
I Poll | This object contains information about a poll. |
This object represents an answer of a user in a non-anonymous poll. | |
This object contains information about one answer option in a poll. | |
This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user. | |
Describes an inline message sent by a Web App on behalf of a user. | |
This object represents a sticker. | |
This object represents a sticker set. | |
This object represents a message about a forwarded story in the chat. Currently holds no information. | |
This object contains information about the user whose identifier was shared with the bot using a KeyboardButtonRequestUser button. | |
This object represents a venue. | |
This object represents a video file. | |
This object represents a service message about a video chat ended in the chat. | |
This object represents a service message about new members invited to a video chat. | |
This object represents a service message about a video chat scheduled in the chat. | |
This object represents a service message about a video chat started in the chat. Currently holds no information. | |
This object represents a video message (available in Telegram apps as of v.4.0). | |
This object represents a voice note. | |
Describes data sent from a Web App to the bot. | |
This object represents a service message about a user allowing a bot to write messages after adding the bot to the attachment menu or launching a Web App from a link. |
Type Aliases
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc. | |
The Bot API supports basic formatting for messages. You can use bold, italic, underlined, strikethrough, and spoiler text, as well as inline links and pre-formatted code in your bots' messages. Telegram clients will render them accordingly. You can use either markdown-style or HTML-style formatting. |