Class: TD::Types::MessageContent::Video

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/video.rb

Overview

A video message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#captionTD::Types::FormattedText

Video caption.

Returns:



8
9
10
# File 'lib/tdlib/types/message_content/video.rb', line 8

def caption
  @caption
end

#is_secretBoolean

True, if the video thumbnail must be blurred and the video must be shown only while tapped.

Returns:

  • (Boolean)

    the current value of is_secret



8
9
10
# File 'lib/tdlib/types/message_content/video.rb', line 8

def is_secret
  @is_secret
end

#videoTD::Types::Video

The video description.

Returns:



8
9
10
# File 'lib/tdlib/types/message_content/video.rb', line 8

def video
  @video
end