Enum telegram_bot::types::ChatAction[][src]

pub enum ChatAction {
    Typing,
    UploadPhoto,
    RecordVideo,
    UploadVideo,
    RecordAudio,
    UploadAudio,
    UploadDocument,
    FindLocation,
}

Strongly typed ChatAction. Instead of passing a String to the send_chat_action method, this is used.

Variants

Trait Implementations

impl Debug for ChatAction
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ChatAction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for ChatAction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ChatAction
[src]

impl Decodable for ChatAction
[src]

Deserialize a value using a Decoder.

impl Into<&'static str> for ChatAction
[src]

Performs the conversion.

impl ToString for ChatAction
[src]

Converts the given value to a String. Read more

impl Encodable for ChatAction
[src]

Serialize a value using an Encoder.

Auto Trait Implementations

impl Send for ChatAction

impl Sync for ChatAction