[][src]Module telegrambot::types

Structs

Audio

This object represents an audio file to be treated as music by the Telegram clients.

CallbackQuery

This object represents an incoming callback query from a callback button in an inline keyboard.

Channel

This object represents a channel.

ChatMember

This object contains information about one member of the chat.

Contact

This object represents a phone contact.

Document

This object represents a general file (as opposed to photos, voice messages and audio files).

File

This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot<token>/<file_path>. It is guaranteed that the link will be valid for at least 1 hour.

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 mod

Forward

Information about the original message.

Group

This object represents a group.

InlineKeyboardButton

This object represents one button of an inline keyboard.

InlineKeyboardMarkup

This object represents an inline keyboard that appears right next to the message it belongs to.

KeyboardButton

This object represents one button of the reply keyboard.

Location

This object represents a point on the map.

MessageEntity

This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.

PhotoSize

This object represents one size of a photo or a file / sticker thumbnail.

RawChat

This object represents a chat, directly mapped.

RawMessage

This object represents a message. Directly mapped.

RawMessageEntity

This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc. Directly mapped.

ReplyKeyboardMarkup

This object represents a custom keyboard with reply options.

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).

Sticker

This object represents a sticker.

Supergroup

This object represents a supergroup.

True
Update

This object represents an incoming update.

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

This object represents a video message (available in Telegram apps as of v.4.0).

Voice

This object represents a voice note.

Enums

Chat

This object represents a chat.

ChatMemberStatus

The member's status in the chat

ForwardFrom

Information about the source of the original message.

InlineKeyboardButtonKind
MessageChat

This object represents a private, group or supergroup.

MessageEntityKind

Kind of the entity.

ParseMode

Strongly typed ParseMode. See documentation for details.

ReplyMarkup
UpdateKind