TransactionPartnerFragment

class telegram.TransactionPartnerFragment(withdrawal_state=None, *, api_kwargs=None)[source]

Bases: telegram.TransactionPartner

Describes a withdrawal transaction with Fragment.

Added in version 21.4.

Parameters:

withdrawal_state (telegram.RevenueWithdrawalState, optional) – State of the transaction if the transaction is outgoing.

type[source]

The type of the transaction partner, always 'fragment'.

Type:

str

withdrawal_state[source]

Optional. State of the transaction if the transaction is outgoing.

Type:

telegram.RevenueWithdrawalState

classmethod de_json(data, bot=None)[source]

See telegram.TransactionPartner.de_json().