class TelegramBot::InputRichBlockDetails

Included Modules

Defined in:

telegram_bot/types/input_rich_block.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::InputRichBlock

type : String type, type=(type : String) type=

Constructor methods inherited from class TelegramBot::InputRichBlock

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new

Constructor Detail

def self.new(summary : RichText, blocks : Array(InputRichBlock), *, is_open : Bool | Nil = nil) #

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

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 is_open=(is_open : Bool | Nil) #

def is_open? : Bool | Nil #

def summary : RichText #

def summary=(summary : RichText) #

def type : String #

def type=(type : String) #