Class: TD::Types::InputPaidMediaType::Video

Inherits:
TD::Types::InputPaidMediaType show all
Defined in:
lib/tdlib/types/input_paid_media_type/video.rb

Overview

The media is a video.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#durationInteger

Duration of the video, in seconds.



6
7
8
# File 'lib/tdlib/types/input_paid_media_type/video.rb', line 6

def duration
  @duration
end

#supports_streamingBoolean

True, if the video is supposed to be streamed.



6
7
8
# File 'lib/tdlib/types/input_paid_media_type/video.rb', line 6

def supports_streaming
  @supports_streaming
end