class
TelegramBot::RichBlockVideo
- TelegramBot::RichBlockVideo
- TelegramBot::RichBlock
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/rich_block.crConstructors
- .new(pull : JSON::PullParser)
- .new(video : Video, *, has_spoiler : Bool | Nil = nil, caption : RichBlockCaption | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #caption : RichBlockCaption | Nil
- #caption=(caption : RichBlockCaption | Nil)
- #has_spoiler=(has_spoiler : Bool | Nil)
- #has_spoiler? : Bool | Nil
- #type : String
- #type=(type : String)
- #video : Video
- #video=(video : Video)
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(video : Video, *, has_spoiler : Bool | Nil = nil, caption : RichBlockCaption | Nil = nil)
#