Expand description

apid-telegram-bot

This crate provides types for Telegram API. The tpyes implementing Debug, Serialize and Deserialize traits for covenience. Also, carefully designed enum variants for ergonomics.

Telegram Parity

Current type definitions are written with August 12, 2022 (Bot API 6.2)

Structs

This object represents a chat.

This object respresents an information about user from private chat

This object represents a message.

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

This object represents a unique message identifier.

This object represents an incoming update. At most one of the optional parameters can be present in any given update.

This object represents a Telegram user or bot.

Describes the current status of a webhook.

Enums

The object representing message content

This object represents the kind of message entity, and its metadata.

The update event can be taken from an Update.