Struct telebot::objects::InlineKeyboardButton [] [src]

pub struct InlineKeyboardButton {
    pub text: String,
    pub url: Option<String>,
    pub callback_data: Option<String>,
    pub switch_inline_query: Option<String>,
    pub switch_inline_query_current_chat: Option<String>,
    pub callback_game: Option<CallbackGame>,
}

This object represents one button of an inline keyboard. You must use exactly one of the optional fields.

Fields

Trait Implementations

impl Debug for InlineKeyboardButton
[src]

Formats the value using the given formatter.