Class: TD::Types::MessageContent::VideoNote

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

Overview

A video note message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#is_secretBoolean

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

Returns:

  • (Boolean)

    the current value of is_secret



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

def is_secret
  @is_secret
end

#is_viewedBoolean

True, if at least one of the recipients has viewed the video note.

Returns:

  • (Boolean)

    the current value of is_viewed



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

def is_viewed
  @is_viewed
end

#video_noteTD::Types::VideoNote

Message content.

Returns:



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

def video_note
  @video_note
end