Sha256: 4a34e751439d12ab3862ed53348e3581e73443981479733955d88eeba5f680ce

Contents?: true

Size: 750 Bytes

Versions: 2

Compression:

Stored size: 750 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InputMediaVideo < Base
        attribute :type, Types::String.constrained(eql: 'video').default('video')
        attribute :media, Types::String
        attribute? :thumbnail, Types::String
        attribute? :caption, Types::String
        attribute? :parse_mode, Types::String
        attribute? :caption_entities, Types::Array.of(MessageEntity)
        attribute? :show_caption_above_media, Types::Bool
        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-2.2.0 lib/telegram/bot/types/input_media_video.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/input_media_video.rb