class Tourmaline::KeyboardButton

Included Modules

Defined in:

tourmaline/models/reply_keyboard_markup.cr

Constructors

Instance Method Summary

Instance methods inherited from module Tourmaline::Model

client : Tourmaline::Client client, client=(client : Tourmaline::Client) client=, client? : Tourmaline::Client | Nil client?, finish_init(client : Tourmaline::Client) finish_init

Constructor Detail

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

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

[View source]

Instance Method Detail

def request_contact : Bool #

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

[View source]
def request_location : Bool #

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

[View source]
def request_poll : KeyboardButtonPollType | Nil #

[View source]
def request_poll=(request_poll : KeyboardButtonPollType | 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]