Class: TD::Types::ProductInfo

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/product_info.rb

Overview

Contains information about a product that can be paid with invoice.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#descriptionTD::Types::FormattedText

Product description.

Returns:



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

def description
  @description
end

#photoTD::Types::Photo?

Product photo; may be null.

Returns:



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

def photo
  @photo
end

#titleTD::Types::String

Product title.

Returns:

  • (TD::Types::String)

    the current value of title



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

def title
  @title
end