class Telecr::Markup::InlineKeyboard

Overview

Representation of the InlineKeyboardMarkup

Defined in:

markup/inline.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rows : Array(Array(Hash(String, JSON::Any)))) #

[View source]

Instance Method Detail

def rows : Array(Array(Hash(String, JSON::Any))) #

[View source]
def to_h #

Formats the keyboard for the Telegram API


[View source]
def to_json(json : JSON::Builder) #

[View source]