class TelegramBot::RichBlockPreformatted

Included Modules

Defined in:

telegram_bot/types/rich_block.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::RichBlock

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

Constructor methods inherited from class TelegramBot::RichBlock

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

Constructor Detail

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

def self.new(text : RichText, *, language : String | Nil = nil) #

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

Instance Method Detail

def language : String | Nil #

def language=(language : String | Nil) #

def text : RichText #

def text=(text : RichText) #

def type : String #

def type=(type : String) #