class Tourmaline::InlineKeyboardMarkup
- Tourmaline::InlineKeyboardMarkup
 - Reference
 - Object
 
Overview
This object represents an inline keyboard that appears right next to the message it belongs to. Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will display unsupported message.
Included Modules
- JSON::Serializable
 
Defined in:
tourmaline/types/api.crtourmaline/types/custom/inline_keyboard_markup.cr
Constructors
- .new(inline_keyboard : Array(Array(Tourmaline::InlineKeyboardButton)) = [] of Array(Tourmaline::InlineKeyboardButton))
 - .new(pull : JSON::PullParser)
 
Instance Method Summary
- #<<(row, btn : InlineKeyboardButton)
 - #<<(btns : Array(InlineKeyboardButton))
 - 
        #inline_keyboard : Array(Array(Tourmaline::InlineKeyboardButton))
        
          
Array of button rows, each represented by an Array of InlineKeyboardButton objects
 - 
        #inline_keyboard=(inline_keyboard : Array(Array(Tourmaline::InlineKeyboardButton)))
        
          
Array of button rows, each represented by an Array of InlineKeyboardButton objects
 
Constructor Detail
        
        def self.new(inline_keyboard : Array(Array(Tourmaline::InlineKeyboardButton)) = [] of Array(Tourmaline::InlineKeyboardButton))
        #
      
      
      Instance Method Detail
        
        def inline_keyboard : Array(Array(Tourmaline::InlineKeyboardButton))
        #
      
      
        Array of button rows, each represented by an Array of InlineKeyboardButton objects
        
        def inline_keyboard=(inline_keyboard : Array(Array(Tourmaline::InlineKeyboardButton)))
        #
      
      
        Array of button rows, each represented by an Array of InlineKeyboardButton objects