class TelegramBot::ReplyKeyboardMarkup

Included Modules

Defined in:

telegram_bot/types/reply_keyboard_markup.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(keyboard : Array(Array(KeyboardButton)), *, resize_keyboard : Bool | Nil = nil, one_time_keyboard : Bool | Nil = nil, selective : Bool | Nil = nil) #

def self.new(keyboard : Array(Array(String)), *, resize_keyboard : Bool | Nil = nil, one_time_keyboard : Bool | Nil = nil, selective : Bool | Nil = nil) #

Alternative constructor that allows to build markup object with text-only buttons


Instance Method Detail

def keyboard : Array(Array(KeyboardButton)) #

def keyboard=(keyboard : Array(Array(KeyboardButton))) #

def one_time_keyboard=(one_time_keyboard : Bool | Nil) #

def one_time_keyboard? : Bool | Nil #

def resize_keyboard=(resize_keyboard : Bool | Nil) #

def resize_keyboard? : Bool | Nil #

def selective=(selective : Bool | Nil) #

def selective? : Bool | Nil #