Enum telbot_types::message::ChatOrInlineMessage[][src]

pub enum ChatOrInlineMessage {
    Chat {
        chat_id: ChatId,
        message_id: i64,
    },
    Inline {
        inline_message_id: String,
    },
}
Expand description

Chat message or inline message id

Variants

Chat

Fields of Chat

chat_id: ChatId

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

message_id: i64

Identifier of the message

Inline

Fields of Inline

inline_message_id: String

Identifier of the inline message

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.