Class: TD::Types::InputInlineQueryResult::AnimatedMpeg4

Inherits:
TD::Types::InputInlineQueryResult show all
Defined in:
lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb

Overview

Represents a link to an animated (i.e. without sound) H.264/MPEG-4 AVC video.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idString

Unique identifier of the query result.

Returns:

  • (String)

    the current value of id



17
18
19
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17

def id
  @id
end

#input_message_contentTD::Types::InputMessageContent

The content of the message to be sent. Must be one of the following types: InputMessageText, InputMessageAnimation, InputMessageLocation, InputMessageVenue or InputMessageContact.

Returns:



17
18
19
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17

def input_message_content
  @input_message_content
end

#mpeg4_durationInteger

Duration of the video, in seconds.

Returns:

  • (Integer)

    the current value of mpeg4_duration



17
18
19
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17

def mpeg4_duration
  @mpeg4_duration
end

#mpeg4_heightInteger

Height of the video.

Returns:

  • (Integer)

    the current value of mpeg4_height



17
18
19
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17

def mpeg4_height
  @mpeg4_height
end

#mpeg4_urlString

The URL of the MPEG4-file (file size must not exceed 1MB).

Returns:

  • (String)

    the current value of mpeg4_url



17
18
19
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17

def mpeg4_url
  @mpeg4_url
end

#mpeg4_widthInteger

Width of the video.

Returns:

  • (Integer)

    the current value of mpeg4_width



17
18
19
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17

def mpeg4_width
  @mpeg4_width
end

#reply_markupTD::Types::ReplyMarkup

The message reply markup. Must be of type ReplyMarkup::InlineKeyboard or null.

Returns:



17
18
19
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17

def reply_markup
  @reply_markup
end

#thumbnail_urlString

URL of the static result thumbnail (JPEG or GIF), if it exists.

Returns:

  • (String)

    the current value of thumbnail_url



17
18
19
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17

def thumbnail_url
  @thumbnail_url
end

#titleString

Title of the result.

Returns:

  • (String)

    the current value of title



17
18
19
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17

def title
  @title
end