One result of an inline query
Content of a media message to be sent
Content of a message to be sent as a result of an inline query
Inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user
Unique identifier for the target chat or username of the target channel
An exception thrown by tg.d on errors
Chat action to be broadcast
Type of chat
Type of the MessageEntity
Represents parts of the face
Formatting options
Member's status in the chat
Checks if T is one of the InlineQueryResult types
Checks if T is one of the InputMedia types
Checks if T is one of the InputMessageContent types
Checks if T is one of the ReplyMarkup types
Check if T is a valid TelegramID
Method to add a new sticker to a set created by the bot
Animation file (GIF or H.264/MPEG-4 AVC video without sound)
Method to send answers to callback queries sent from inline keyboards
Method to send answers to an inline query
Audio file to be treated as music by the Telegram clients
A placeholder, currently holds no information
Incoming callback query
Chat
Information about one member of a chat
Chat photo
Result of an inline query that was chosen by the user and sent to their chat partner
Phone contact
Method to create new sticker set owned by a user
Method to delete a chat photo
Method to delete a group sticker set from a supergroup
Method to delete a message, including service messages
Method to delete a sticker from a set created by the bot
Method to remove webhook integration
General file (as opposed to photos, voice messages and audio files).
Method to edit captions of messages sent by the bot or via the bot
Method to edit live location messages
Method to edit audio, document, photo, or video messages
Method to edit only the reply markup of messages sent by the bot or via the bot
Method to edit text and game messages sent by the bot or via the bot
Method to generate a new invite link for a chat
File ready to be downloaded
Force user reply
Method to forward messages
Game
One row of the high scores table for a game
Method to get a list of administrators in a chat
Method to get information about a member of a chat
Method to get the number of members in a chat
Method to get up to date information about the chat
Method to get basic info about a file and prepare it for downloading
Method to get basic information about the bot
Method to get a sticker set
Method to receive incoming updates using long polling
Method to get a list of profile pictures for a user
Method to get current webhook status
One button of an inline keyboard
Inline keyboard that appears right next to the message
Incoming inline query
Link to an article or web page
Link to an mp3 audio file
Link to an mp3 audio file stored on the Telegram servers
Link to a file stored on the Telegram servers
Link to an animated GIF file stored on the Telegram servers
Link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers
Link to a photo stored on the Telegram servers
Link to a sticker stored on the Telegram servers
Link to a video file stored on the Telegram servers
Link to a voice message stored on the Telegram servers
Contact with a phone number
Link to a file
Game
Link to an animated GIF file
Location on a map
Link to a vide animation (H.264/MPEG-4 AVC video without sound)
Link to a photo
Venue
Link to a page containing an embedded video player or a video file
Link to a voice recording in an .ogg container encoded with OPUS
Content of a contact message to be sent as the result of an inline query
Represents the contents of a file to be uploaded
Content of a location message to be sent as the result of an inline query
Animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent
Audio file to be sent
General file to be sent
Photo to be sent
Video file to be sent
Content of a text message to be sent as the result of an inline query
Content of a venue message to be sent as the result of an inline query
Basic information about an invoice
One button of the reply keyboard
Method to kick a user from a group, a supergroup or a channel
Portion of the price for goods or services
Method for your bot to leave a group, supergroup or channel
Point on the map
Describes position on faces where a mask should be placed by default
Message
One special entity in a text message
Information about an order
One size of a photo or a file/sticker thumbnail
Method to pin a message in a supergroup or a channel
Information about an incoming pre-checkout query
Method to promote or demote a user in a supergroup or a channel
Custom keyboard with reply options
Remove current custom keyboard
Information about why a request was unsuccessful
Method to restrict a user in a supergroup
Method to send animation files
Method to send audio files
Method to send chat action
Method to send phone contacts
Method to send general files
Method to send point on the map
Method to send a group of photos or audios as an album
Method to send text messages
Method to send photos
Method to send .webp stickers
Method to send information about a venue
Method to send video files
Method to send video messages
Method to send audio files that are treated as a playable voice messages
Method to change the description of a supergroup or a channel
Method to set a new profile photo for the chat
Method to set a new group sticker set for a supergroup
Method to change the title of a chat
Method to move a sticker in a set created by the bot to a specific position
Method to specify a url and receive incoming updates via an outgoing webhook
Shipping address
Shipping option
Information about an incoming shipping query
Sticker
Sticker set
Method to stop updating a live location message
Basic information about a successful payment
Main structure representing one bot
Method to unban a previously kicked user in a supergroup or channel
Method to unpin a message in a supergroup or a channel
An incoming update
Method to upload a .png file with a sticker
Telegram user or a bot
User's profile pictures
Venue
Video file
Video message
Voice note
Information about the current status of a webhook
See "examples" directory
Copyright for portions of project tg.d are held by Pavel Chebotarev, 2018 as part of project telega (https://github.com/nexor/telega). All other copyright for project tg.d are held by Anton Fediushin, 2018.
Tg.d is a D client library for Telegram Bot API
Take a look at TelegramBot which is the main structure representing a bot.