class Tourmaline::KeyboardButton

Included Modules

Defined in:

tourmaline/models/keyboard_button.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(text : String, request_user : KeyboardButtonRequestUser | Nil = nil, request_chat : KeyboardButtonRequestChat | Nil = nil, request_contact : Bool | Nil = nil, request_location : Bool | Nil = nil, request_poll : KeyboardButtonPollType | Nil = nil, web_app : WebAppInfo | Nil = nil) #

[View source]

Instance Method Detail

def request_chat : KeyboardButtonRequestChat | Nil #

[View source]
def request_chat=(request_chat : KeyboardButtonRequestChat | Nil) #

[View source]
def request_contact : Bool | Nil #

[View source]
def request_contact=(request_contact : Bool | Nil) #

[View source]
def request_location : Bool | Nil #

[View source]
def request_location=(request_location : Bool | Nil) #

[View source]
def request_poll : KeyboardButtonPollType | Nil #

[View source]
def request_poll=(request_poll : KeyboardButtonPollType | Nil) #

[View source]
def request_user : KeyboardButtonRequestUser | Nil #

[View source]
def request_user=(request_user : KeyboardButtonRequestUser | Nil) #

[View source]
def text : String #

[View source]
def text=(text : String) #

[View source]
def web_app : WebAppInfo | Nil #

[View source]
def web_app=(web_app : WebAppInfo | Nil) #

[View source]