class
TelegramBot::InputRichBlockVoiceNote
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/input_rich_block.crConstructors
- .new(pull : JSON::PullParser)
- .new(voice_note : InputMediaVoiceNote, *, caption : RichBlockCaption | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #caption : RichBlockCaption | Nil
- #caption=(caption : RichBlockCaption | Nil)
- #collect_attachments(attachments : Hash(String, String | ::File)) : Nil
- #type : String
- #type=(type : String)
- #voice_note : InputMediaVoiceNote
- #voice_note=(voice_note : InputMediaVoiceNote)
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