Sha256: 72086a06562e8fed7b695bcc91df274dd95a53e509203402ef0e4c7be8966f5c

Contents?: true

Size: 546 Bytes

Versions: 1

Compression:

Stored size: 546 Bytes

Contents

module TD::Types
  # A video.
  #
  # @attr video [TD::Types::Video, nil] Video file; may be null.
  # @attr caption [TD::Types::RichText] 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::RichText
    attribute :need_autoplay, TD::Types::Bool
    attribute :is_looped, TD::Types::Bool
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.0.0 lib/tdlib/types/page_block/video.rb