Sha256: fe7e78d9013d7b8c767fb2ff473cdc2779eb908079a457a1f444a847ba21dd90

Contents?: true

Size: 566 Bytes

Versions: 3

Compression:

Stored size: 566 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InputMediaAudio < Base
        attribute :type, Types::String.default('audio')
        attribute :media, Types::String
        attribute? :thumb, Types::String
        attribute? :caption, Types::String
        attribute? :parse_mode, Types::String
        attribute? :caption_entities, Types::Array.of(MessageEntity)
        attribute? :duration, Types::Integer
        attribute? :performer, Types::String
        attribute? :title, Types::String
      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/input_media_audio.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/input_media_audio.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/input_media_audio.rb