class TelegramBot::RichBlockListItem

Included Modules

Defined in:

telegram_bot/types/rich_block.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(label : String, blocks : Array(RichBlock), *, has_checkbox : Bool | Nil = nil, is_checked : Bool | Nil = nil, value : Int32 | Nil = nil, type : String | Nil = nil) #

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

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def blocks : Array(RichBlock) #

def blocks=(blocks : Array(RichBlock)) #

def has_checkbox=(has_checkbox : Bool | Nil) #

def has_checkbox? : Bool | Nil #

def is_checked=(is_checked : Bool | Nil) #

def is_checked? : Bool | Nil #

def label : String #

def label=(label : String) #

def type : String | Nil #

def type=(type : String | Nil) #

def value : Int32 | Nil #

def value=(value : Int32 | Nil) #