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.crInstance Method Summary
- #request_contact(text : String, style : String | Nil = nil, emoji_id : String | Nil = nil)
- #request_location(text : String, style : String | Nil = nil, emoji_id : String | Nil = nil)
- #request_poll(text : String, poll_type : String | Nil = nil, style : String | Nil = nil, emoji_id : String | Nil = nil)
- #text(content : String, style : String | Nil = nil, emoji_id : String | Nil = nil)
- #web_app(text : String, url : String, style : String | Nil = nil, emoji_id : String | Nil = nil)
Instance Method Detail
def request_poll(text : String, poll_type : String | Nil = nil, style : String | Nil = nil, emoji_id : String | Nil = nil)
#
def web_app(text : String, url : String, style : String | Nil = nil, emoji_id : String | Nil = nil)
#