class

Tourmaline::KeyboardButton

Inherits Tourmaline::Model < JSON::Serializable < Reference < Object

Constructors

new(text : String, request_contact : Bool = false, request_location : Bool = false, request_poll : Nil | Tourmaline::KeyboardButtonPollType = nil, web_app : Nil | Tourmaline::WebAppInfo = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

request_contact
Source
request_contact=(request_contact : Bool)
Source
request_location
Source
request_location=(request_location : Bool)
Source
request_poll
Source
request_poll=(request_poll : KeyboardButtonPollType | Nil)
Source
text
Source
text=(text : String)
Source
web_app
Source
web_app=(web_app : WebAppInfo | Nil)
Source