Crate wdg_telegram_types [−] [src]
Structs
Animation |
You can provide an animation for your game so that it looks stylish in chats (check out Lumberjack for an example). This object represents an animation file to be displayed in the message containing a game. |
Audio |
This object represents an audio file to be treated as music by the Telegram clients. |
CallbackGame |
A placeholder, currently holds no information. Use BotFather to set up your game. |
CallbackQuery |
This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present. |
Chat |
This object represents a chat. |
ChatMember |
This object contains information about one member of a chat. |
ChatPhoto |
This object represents a chat photo. |
Contact |
This object represents a phone contact. |
Document |
This object represents a general file (as opposed to photos, voice messages and audio files). |
ForceReply |
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. |
Game |
This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers. |
InlineKeyboardButton |
This object represents one button of an inline keyboard. You must use exactly one of the optional fields. |
InlineKeyboardMarkup |
This object represents an inline keyboard that appears right next to the message it belongs to. |
Invoice |
This object contains basic information about an invoice. |
KeyboardButton |
This object represents one button of the reply keyboard. For simple text buttons String can be used instead of this object to specify text of the button. Optional fields are mutually exclusive. |
Location |
This object represents a point on the map. |
MaskPosition |
This object describes the position on faces where a mask should be placed by default. |
Message |
This object represents a message. |
MessageEntity |
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc. |
OrderInfo |
This object represents information about an order. |
PhotoSize |
This object represents one size of a photo or a file / sticker thumbnail. |
ReplyKeyboardMarkup |
This object represents a custom keyboard with reply options (see Introduction to bots for details and examples). |
ReplyKeyboardRemove |
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 (see ReplyKeyboardMarkup). |
ResponseParameters |
Contains information about why a request was unsuccessfull. |
ShippingAddress |
This object represents a shipping address. |
Sticker |
This object represents a sticker. |
SuccessfulPayment |
This object contains basic information about a successful payment. |
User |
This object represents a Telegram user or bot. |
UserProfilePhotos |
This object represent a user's profile pictures. |
Venue |
This object represents a venue. |
Video |
This object represents a video file. |
VideoNote | |
Voice |
This object represents a voice note. |