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