module Telecr::Markup::ReplyButtons

Overview

ReplyButtons provides methods for creating individual keyboard buttons. Supports style and custom emoji icons introduced in API 9.x.

Direct including types

Defined in:

markup/keyboard.cr

Instance Method Summary

Instance Method Detail

def request_contact(text : String, style : String | Nil = nil, emoji_id : String | Nil = nil) #

[View source]
def request_location(text : String, style : String | Nil = nil, emoji_id : String | Nil = nil) #

[View source]
def request_poll(text : String, poll_type : String | Nil = nil, style : String | Nil = nil, emoji_id : String | Nil = nil) #

[View source]
def text(content : String, style : String | Nil = nil, emoji_id : String | Nil = nil) #

[View source]
def web_app(text : String, url : String, style : String | Nil = nil, emoji_id : String | Nil = nil) #

[View source]