TransactionPartnerUser¶
- class telegram.TransactionPartnerUser(user, invoice_payload=None, paid_media=None, paid_media_payload=None, *, api_kwargs=None)[source]¶
Bases:
telegram.TransactionPartner
Describes a transaction with a user.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
user
are equal.Added in version 21.4.
- Parameters:
user (
telegram.User
) – Information about the user.invoice_payload (
str
, optional) – Bot-specified invoice payload.paid_media (Sequence[
telegram.PaidMedia
], optional) –Information about the paid media bought by the user.
Added in version 21.5.
paid_media_payload (
str
, optional) –Optional. Bot-specified paid media payload.
Added in version 21.6.
- paid_media[source]¶
Optional. Information about the paid media bought by the user.
Added in version 21.5.
- Type:
tuple[
telegram.PaidMedia
]
- paid_media_payload[source]¶
Optional. Optional. Bot-specified paid media payload.
Added in version 21.6.
- Type: