Sha256: 21015d5f599fa1813b36a362359f1ae5e345ca9868aa20989ec84d6541b3e5bf
Contents?: true
Size: 677 Bytes
Versions: 2
Compression:
Stored size: 677 Bytes
Contents
# frozen_string_literal: true module Telegram module Bot module Types class InlineQueryResultVoice < Base attribute :type, Types::String.constrained(eql: 'voice').default('voice') attribute :id, Types::String attribute :voice_url, Types::String attribute :title, Types::String attribute? :caption, Types::String attribute? :parse_mode, Types::String attribute? :caption_entities, Types::Array.of(MessageEntity) attribute? :voice_duration, Types::Integer attribute? :reply_markup, InlineKeyboardMarkup attribute? :input_message_content, InputMessageContent end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
telegram-bot-ruby-2.1.0 | lib/telegram/bot/types/inline_query_result_voice.rb |
telegram-bot-ruby-2.0.0 | lib/telegram/bot/types/inline_query_result_voice.rb |