Sha256: 103f7c360d3dc17c65eb8d8deea4fb9bc7abf33f7e1e22ea9577db27bc88e413

Contents?: true

Size: 521 Bytes

Versions: 3

Compression:

Stored size: 521 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Video < 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/video.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/video.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/video.rb