TransactionPartnerFragment

class aiogram.types.transaction_partner_fragment.TransactionPartnerFragment(*, type: Literal[TransactionPartnerType.FRAGMENT] = TransactionPartnerType.FRAGMENT, withdrawal_state: RevenueWithdrawalStatePending | RevenueWithdrawalStateSucceeded | RevenueWithdrawalStateFailed | None = None, **extra_data: Any)[source]

Describes a withdrawal transaction with Fragment.

Source: https://core.telegram.org/bots/api#transactionpartnerfragment

type: Literal[TransactionPartnerType.FRAGMENT]

Type of the transaction partner, always ‘fragment’

withdrawal_state: RevenueWithdrawalStatePending | RevenueWithdrawalStateSucceeded | RevenueWithdrawalStateFailed | None

Optional. State of the transaction if the transaction is outgoing