class TelegramBot::RichBlockMap

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(location : Location, zoom : Int32, width : Int32, height : Int32, *, caption : RichBlockCaption | Nil = nil) #

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

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

Instance Method Detail

def caption : RichBlockCaption | Nil #

def caption=(caption : RichBlockCaption | Nil) #

def height : Int32 #

def height=(height : Int32) #

def location : Location #

def location=(location : Location) #

def type : String #

def type=(type : String) #

def width : Int32 #

def width=(width : Int32) #

def zoom : Int32 #

def zoom=(zoom : Int32) #