Sha256: 03fa888a51e80c62a49fe96d5d05c187199f8be28425acdd350dc9340469f5c9

Contents?: true

Size: 525 Bytes

Versions: 3

Compression:

Stored size: 525 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? :thumb, 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-1.0.0 lib/telegram/bot/types/animation.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/animation.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/animation.rb