Class: TD::Types::PaymentOption

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

Overview

Describes an additional payment option.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#titleTD::Types::String

Title for the payment option.

Returns:

  • (TD::Types::String)

    the current value of title



6
7
8
# File 'lib/tdlib/types/payment_option.rb', line 6

def title
  @title
end

#urlTD::Types::String

Payment form URL to be opened in a web view.

Returns:

  • (TD::Types::String)

    the current value of url



6
7
8
# File 'lib/tdlib/types/payment_option.rb', line 6

def url
  @url
end