class Tourmaline::KeyboardButtonPollType

Overview

This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.

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(type : Tourmaline::Poll::Type) #

[View source]

Instance Method Detail

def type : Poll::Type #

[View source]
def type=(type : Poll::Type) #

[View source]