peyk.platforms.telegram.types.transaction_partner_fragment

Classes

TransactionPartnerFragment([type, ...])

Describes a withdrawal transaction with Fragment.

class peyk.platforms.telegram.types.transaction_partner_fragment.TransactionPartnerFragment(type: str = 'fragment', withdrawal_state: RevenueWithdrawalStatePending | RevenueWithdrawalStateSucceeded | RevenueWithdrawalStateFailed | None = None)[source]

Bases: object

Describes a withdrawal transaction with Fragment.

Variables:
type: str = 'fragment'
withdrawal_state: RevenueWithdrawalStatePending | RevenueWithdrawalStateSucceeded | RevenueWithdrawalStateFailed | None = None
classmethod from_dict(data: dict | None) TransactionPartnerFragment | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.