Struct telbot_types::query::InlineQueryResult[][src]

pub struct InlineQueryResult {
    pub id: String,
    pub kind: InlineQueryResultKind,
    pub reply_markup: Option<InlineKeyboardMarkup>,
    // some fields omitted
}
Expand description

Fields

id: String

Unique identifier for this result, 1-64 bytes

kind: InlineQueryResultKind

Result type

reply_markup: Option<InlineKeyboardMarkup>

Inline keyboard attached to the message

Implementations

Set reply markup

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.