Sha256: a533e66ec71b6dc33b4c491dab73c1916fd89eca46365f415ea4f697f2c1dbc5

Contents?: true

Size: 662 Bytes

Versions: 2

Compression:

Stored size: 662 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InputMediaVideo < Base
        attribute :type, Types::String.default('video')
        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? :width, Types::Integer
        attribute? :height, Types::Integer
        attribute? :duration, Types::Integer
        attribute? :supports_streaming, Types::Bool
        attribute? :has_spoiler, Types::Bool
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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