import * as mtkruto from "https://deno.land/x/mtkruto@0.0.998/3_types.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. | |
Represents the rights of an administrator in a chat. | |
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). | |
Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. | |
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 an inline keyboard that appears right next to the message it belongs to. | |
This object defines the criteria used to request a suitable chat. The identifier of the selected chat will be shared with the bot when the corresponding button is pressed. | |
This object defines the criteria used to request a suitable user. The identifier of the selected user will be shared with the bot when the corresponding button is pressed. | |
This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed. | |
This object represents a point on the map. | |
This object represents a parameter of the inline keyboard button used to automatically authorize a user. Serves as a great replacement for the Telegram Login Widget when the user is coming from Telegram. | |
This object describes the position on faces where a mask should be placed by default. | |
This object represents a message. | |
This object represents a photo. | |
I Poll | |
This object represents a custom keyboard with reply options. | |
Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button. | |
This object represents a sticker. | |
This object represents thumbnail of a file or a sticker. | |
I User | This object represents a Telegram user or bot. |
This object represents a video file. | |
This object represents a video message (available in Telegram apps as of v.4.0). | |
This object represents a voice note. | |
Describes a Web App |
Type Aliases
T Chat | This object represents a chat. |
This object represents a chat photo. | |
This object represents one button of an inline keyboard. You must use exactly one of the optional fields. | |
This object represents one button of the reply keyboard. For simple text buttons, String can be used instead of this object to specify the button text. The optional fields web_app, request_user, request_chat, request_contact, request_location, and request_poll are mutually exclusive. | |
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc. | |