Struct tg_botapi::api::InlineKeyboardMarkup
source · pub struct InlineKeyboardMarkup {
pub inline_keyboard: Vec<Vec<InlineKeyboardButton>>,
}
Expand description
This object represents an inline keyboard that appears right next to the message it belongs to.
Fields§
§inline_keyboard: Vec<Vec<InlineKeyboardButton>>
Array of button rows, each represented by an Array of InlineKeyboardButton objects
Implementations§
source§impl InlineKeyboardMarkup
impl InlineKeyboardMarkup
pub fn new(inline_keyboard: Vec<Vec<InlineKeyboardButton>>) -> Self
Trait Implementations§
source§impl Clone for InlineKeyboardMarkup
impl Clone for InlineKeyboardMarkup
source§fn clone(&self) -> InlineKeyboardMarkup
fn clone(&self) -> InlineKeyboardMarkup
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InlineKeyboardMarkup
impl Debug for InlineKeyboardMarkup
source§impl<'de> Deserialize<'de> for InlineKeyboardMarkup
impl<'de> Deserialize<'de> for InlineKeyboardMarkup
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<InlineKeyboardMarkup> for ReplyMarkup
impl From<InlineKeyboardMarkup> for ReplyMarkup
source§fn from(o: InlineKeyboardMarkup) -> Self
fn from(o: InlineKeyboardMarkup) -> Self
Converts to this type from the input type.