TransactionPartnerUser
Describes a transaction with a user.
Properties
type
ts
type: "user";
Type of the transaction partner, always “user”
user
ts
user: User;
Information about the user
affiliate
ts
affiliate?: AffiliateInfo;
Information about the affiliate that received a commission via this transaction
invoice_payload
ts
invoice_payload?: string;
Bot-specified invoice payload
subscription_period
ts
subscription_period?: number;
The duration of the paid subscription
paid_media
ts
paid_media?: PaidMedia[];
Information about the paid media bought by the user
paid_media_payload
ts
paid_media_payload?: string;
Bot-specified paid media payload
gift
ts
gift?: string;
The gift sent to the user by the bot