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.

Chat

This object represents 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).

Game

This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.

Invoice

This object contains basic information about an invoice.

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.

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.

Venue

This object represents a venue.

Video

This object represents a video file.

VideoNote
Voice

This object represents a voice note.