Class: TD::Types::InputMessageContent::Video

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

#added_sticker_file_idsArray<Integer>

File identifiers of the stickers added to the video, if applicable.

Returns:

  • (Array<Integer>)

    the current value of added_sticker_file_ids



14
15
16
# File 'lib/tdlib/types/input_message_content/video.rb', line 14

def added_sticker_file_ids
  @added_sticker_file_ids
end

#captionTD::Types::FormattedText

Video caption; 0-GetOption(“message_caption_length_max”) characters.

Returns:



14
15
16
# File 'lib/tdlib/types/input_message_content/video.rb', line 14

def caption
  @caption
end

#durationInteger

Duration of the video, in seconds.

Returns:

  • (Integer)

    the current value of duration



14
15
16
# File 'lib/tdlib/types/input_message_content/video.rb', line 14

def duration
  @duration
end

#heightInteger

Video height.

Returns:

  • (Integer)

    the current value of height



14
15
16
# File 'lib/tdlib/types/input_message_content/video.rb', line 14

def height
  @height
end

#supports_streamingBoolean

True, if the video should be tried to be streamed.

Returns:

  • (Boolean)

    the current value of supports_streaming



14
15
16
# File 'lib/tdlib/types/input_message_content/video.rb', line 14

def supports_streaming
  @supports_streaming
end

#thumbnailTD::Types::InputThumbnail?

Video thumbnail, if available.

Returns:



14
15
16
# File 'lib/tdlib/types/input_message_content/video.rb', line 14

def thumbnail
  @thumbnail
end

#ttlInteger

Video TTL (Time To Live), in seconds (0-60). A non-zero TTL can be specified only in private chats.

Returns:

  • (Integer)

    the current value of ttl



14
15
16
# File 'lib/tdlib/types/input_message_content/video.rb', line 14

def ttl
  @ttl
end

#videoTD::Types::InputFile

Video to be sent.

Returns:



14
15
16
# File 'lib/tdlib/types/input_message_content/video.rb', line 14

def video
  @video
end

#widthInteger

Video width.

Returns:

  • (Integer)

    the current value of width



14
15
16
# File 'lib/tdlib/types/input_message_content/video.rb', line 14

def width
  @width
end