class
TelegramBot::RichBlockMap
- TelegramBot::RichBlockMap
- TelegramBot::RichBlock
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/rich_block.crConstructors
- .new(location : Location, zoom : Int32, width : Int32, height : Int32, *, caption : RichBlockCaption | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #caption : RichBlockCaption | Nil
- #caption=(caption : RichBlockCaption | Nil)
- #height : Int32
- #height=(height : Int32)
- #location : Location
- #location=(location : Location)
- #type : String
- #type=(type : String)
- #width : Int32
- #width=(width : Int32)
- #zoom : Int32
- #zoom=(zoom : Int32)
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)
#