Class: TD::Types::InlineQueryResult::Animation

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

Overview

Represents an animation file.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#animationTD::Types::Animation

Animation file.

Returns:



7
8
9
# File 'lib/tdlib/types/inline_query_result/animation.rb', line 7

def animation
  @animation
end

#idString

Unique identifier of the query result.

Returns:

  • (String)

    the current value of id



7
8
9
# File 'lib/tdlib/types/inline_query_result/animation.rb', line 7

def id
  @id
end

#titleString

Animation title.

Returns:

  • (String)

    the current value of title



7
8
9
# File 'lib/tdlib/types/inline_query_result/animation.rb', line 7

def title
  @title
end