Module tbot::types[][src]

Types for interacting with the API.

Re-exports

pub use chat::Chat;
pub use dice::Dice;
pub use file::File;
pub use game::Game;
pub use inline_message_id::InlineMessageId;
pub use inline_query::InlineQuery;
pub use input_message_content::InputMessageContent;
pub use location::Location;
pub use message::Message;
pub use poll::Poll;
pub use pre_checkout_query::PreCheckoutQuery;
pub use sticker::Sticker;
pub use update::Update;
pub use user::User;
pub use webhook_info::WebhookInfo;

Modules

callback

Types related to callbacks.

chat

Types related to chats.

dice

Types related to dice.

file

Types related to downloadable files.

game

Types related to games.

inline_message_id

Types representing an inline message ID.

inline_query

Types related to inline queries.

input_file

Types representing uploadable media.

input_message_content

Types related to input message contents.

keyboard

Types representing keyboards, e.g. inline keyboards.

location

Types representing (live) locations.

message

Types related to messages.

parameters

Types used as parameters, mainly for methods.

passport

Types related to Telegram Passport.

poll

Types related to polls.

pre_checkout_query

Types related to pre-checkout queries.

shipping

Types related to shipping information.

sticker

Types related to stickers.

update

Types related to updates.

user

Types related to users.

voice_chat

Types related to voice chats.

webhook_info

Types related to webhook information.

Structs

Animation

Represents an Animation.

Audio

Represents an Audio.

BotCommand

Represents a BotCommand.

ChosenInlineResult

Represents a ChosenInlineResult.

Contact

Represents a Contact.

Document

Represents a Document.

Invoice

Represents an Invoice.

LabeledPrice

Represents an LabeledPrice.

LoginUrl

Represents a LoginUrl.

OrderInfo

Represents OrderInfo.

PhotoSize

Represents a PhotoSize.

ProximityAlert

Represents a service message sent when a user triggers a proximity alert set by another user.

SuccessfulPayment

Represents a SuccessfulPayment.

Venue

Represents a Venue.

Video

Represents a Video.

VideoNote

Represents a VideoNote.

Voice

Represents a Voice.