class TelegramBot::Models::ReplyKeyboardMarkup

Overview

https://core.telegram.org/bots/api#replykeyboardmarkup

Defined in:

telegram_bot/models.cr

Constructors

Instance Method Summary

Constructor methods inherited from class TelegramBot::Models::Base

new(pull : JSON::PullParser) new

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

https://core.telegram.org/bots/api#replykeyboardmarkup


[View source]

Instance Method Detail

def keyboard : Array(Array(KeyboardButton)) #

[View source]
def keyboard=(keyboard : Array(Array(KeyboardButton))) #

[View source]
def one_time_keyboard : Bool | Nil #

[View source]
def one_time_keyboard=(one_time_keyboard : Bool | Nil) #

[View source]
def resize_keyboard : Bool | Nil #

[View source]
def resize_keyboard=(resize_keyboard : Bool | Nil) #

[View source]
def selective : Bool | Nil #

[View source]
def selective=(selective : Bool | Nil) #

[View source]