transaction_partner_user_t¶
-
struct banana::api::transaction_partner_user_t¶
Describes a transaction with a user.
Type of the transaction partner, always “user”
Information about the user
-
optional_t<affiliate_info_t> affiliate¶
Optional. Information about the affiliate that received a commission via this transaction
-
optional_t<string_t> invoice_payload¶
Optional. Bot-specified invoice payload
-
optional_t<integer_t> subscription_period¶
Optional. The duration of the paid subscription
-
optional_t<array_t<paid_media_t>> paid_media¶
Optional. Information about the paid media bought by the user
-
optional_t<string_t> paid_media_payload¶
Optional. Bot-specified paid media payload
-
optional_t<gift_t> gift¶
Optional. The gift sent to the user by the bot
-
optional_t<affiliate_info_t> affiliate¶