Class: TD::Types::InlineQueryResult::Video

Inherits:
TD::Types::InlineQueryResult show all
Defined in:
lib/tdlib/types/inline_query_result/video.rb

Overview

Represents a video.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#descriptionTD::Types::String

Description of the video.

Returns:

  • (TD::Types::String)

    the current value of description



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

def description
  @description
end

#idTD::Types::String

Unique identifier of the query result.

Returns:

  • (TD::Types::String)

    the current value of id



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

def id
  @id
end

#titleTD::Types::String

Title of the video.

Returns:

  • (TD::Types::String)

    the current value of title



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

def title
  @title
end

#videoTD::Types::Video

Video.

Returns:



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

def video
  @video
end