Sha256: 595549de32d3e9d86c61f136ec35450dbb04dc3759d155bd038f17d62c0b9821

Contents?: true

Size: 529 Bytes

Versions: 3

Compression:

Stored size: 529 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Animation < Base
        attribute :file_id, Types::String
        attribute :file_unique_id, Types::String
        attribute :width, Types::Integer
        attribute :height, Types::Integer
        attribute :duration, Types::Integer
        attribute? :thumbnail, PhotoSize
        attribute? :file_name, Types::String
        attribute? :mime_type, Types::String
        attribute? :file_size, Types::Integer
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/animation.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/animation.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/animation.rb