class TelegramBot::InputRichBlockListItem

Included Modules

Defined in:

telegram_bot/types/input_rich_block.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

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

Instance Method Detail

def blocks : Array(InputRichBlock) #

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

def collect_attachments(attachments : Hash(String, String | ::File)) : Nil #

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 type : String | Nil #

def type=(type : String | Nil) #

def value : Int32 | Nil #

def value=(value : Int32 | Nil) #