Sha256: dc988f4b60a076448cf9fc65c9527f0c33124ba0a3d60ed0414b667b7cf5dc33

Contents?: true

Size: 610 Bytes

Versions: 3

Compression:

Stored size: 610 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultCachedVoice < Base
        attribute :type, Types::String.default('voice')
        attribute :id, Types::String
        attribute :voice_file_id, Types::String
        attribute :title, Types::String
        attribute? :caption, Types::String
        attribute? :parse_mode, Types::String
        attribute? :caption_entities, Types::Array.of(MessageEntity)
        attribute? :reply_markup, InlineKeyboardMarkup
        attribute? :input_message_content, InputMessageContent
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/inline_query_result_cached_voice.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/inline_query_result_cached_voice.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/inline_query_result_cached_voice.rb