class Telecr::Markup::InlineBuilder

Overview

Builder class for inline keyboards

Included Modules

Defined in:

markup/inline.cr

Constructors

Instance Method Summary

Instance methods inherited from module Telecr::Markup::InlineButtons

callback(text, data, style : String | Nil = nil, icon_custom_emoji_id : String | Nil = nil) callback, callback_game(text, game_short_name, style : String | Nil = nil, icon_custom_emoji_id : String | Nil = nil) callback_game, login(text, url, style : String | Nil = nil, icon_custom_emoji_id : String | Nil = nil, **options) login, pay(text, style : String | Nil = nil, icon_custom_emoji_id : String | Nil = nil) pay, switch_inline(text, query : String | Nil = nil, style : String | Nil = nil, icon_custom_emoji_id : String | Nil = nil) switch_inline, switch_inline_current_chat(text, query : String | Nil = nil, style : String | Nil = nil, icon_custom_emoji_id : String | Nil = nil) switch_inline_current_chat, url(text, url, style : String | Nil = nil, icon_custom_emoji_id : String | Nil = nil) url, web_app(text, url : String | Nil = nil, style : String | Nil = nil, icon_custom_emoji_id : String | Nil = nil) web_app

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def build #

Build the final keyboard


[View source]
def row(*buttons) #

Add a row of buttons


[View source]