Class: TD::Types::PushMessageContent::Video

Inherits:
TD::Types::PushMessageContent show all
Defined in:
lib/tdlib/types/push_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::String

Video caption.

Returns:

  • (TD::Types::String)

    the current value of caption



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

def caption
  @caption
end

#is_pinnedBoolean

True, if the message is a pinned message with the specified content.

Returns:

  • (Boolean)

    the current value of is_pinned



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

def is_pinned
  @is_pinned
end

#is_secretBoolean

True, if the video is secret.

Returns:

  • (Boolean)

    the current value of is_secret



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

def is_secret
  @is_secret
end

#videoTD::Types::Video?

Message content; may be null.

Returns:



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

def video
  @video
end