class
Hamilton::Types::TransactionPartnerAffiliateProgram
- Hamilton::Types::TransactionPartnerAffiliateProgram
- Reference
- Object
Overview
Describes the affiliate program that issued the affiliate commission received via this transaction.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/transaction_partner.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#commission_per_mille : Int32
The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users.
-
#commission_per_mille=(commission_per_mille : Int32)
The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#sponsor_user : Hamilton::Types::User | Nil
Information about the bot that sponsored the affiliate program.
-
#sponsor_user=(sponsor_user : Hamilton::Types::User | Nil)
Information about the bot that sponsored the affiliate program.
-
#type : String
Type of the transaction partner, always "affiliate_program".
-
#type=(type : String)
Type of the transaction partner, always "affiliate_program".
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users.
The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users.
Information about the bot that sponsored the affiliate program.
Information about the bot that sponsored the affiliate program.