Sha256: 5d5257a4112e1b1aa6d8f9703b90e9d9ae1a98ed9518751c34156b1053727c13

Contents?: true

Size: 562 Bytes

Versions: 5

Compression:

Stored size: 562 Bytes

Contents

module TD::Types
  # A video.
  #
  # @attr video [TD::Types::Video, nil] Video file; may be null.
  # @attr caption [TD::Types::PageBlockCaption] Video caption.
  # @attr need_autoplay [Boolean] True, if the video should be played automatically.
  # @attr is_looped [Boolean] True, if the video should be looped.
  class PageBlock::Video < PageBlock
    attribute :video, TD::Types::Video.optional.default(nil)
    attribute :caption, TD::Types::PageBlockCaption
    attribute :need_autoplay, TD::Types::Bool
    attribute :is_looped, TD::Types::Bool
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/page_block/video.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/page_block/video.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/page_block/video.rb
tdlib-ruby-2.2.0 lib/tdlib/types/page_block/video.rb
tdlib-ruby-2.1.0 lib/tdlib/types/page_block/video.rb