[docs]classTransactionPartnerFragment(TransactionPartner):""" Describes a withdrawal transaction with Fragment. Source: https://core.telegram.org/bots/api#transactionpartnerfragment """type:Literal[TransactionPartnerType.FRAGMENT]=TransactionPartnerType.FRAGMENT"""Type of the transaction partner, always 'fragment'"""withdrawal_state:Optional[RevenueWithdrawalStateUnion]=None"""*Optional*. State of the transaction if the transaction is outgoing"""ifTYPE_CHECKING:# DO NOT EDIT MANUALLY!!!# This section was auto-generated via `butcher`def__init__(__pydantic__self__,*,type:Literal[TransactionPartnerType.FRAGMENT]=TransactionPartnerType.FRAGMENT,withdrawal_state:Optional[RevenueWithdrawalStateUnion]=None,**__pydantic_kwargs:Any,)->None:# DO NOT EDIT MANUALLY!!!# This method was auto-generated via `butcher`# Is needed only for type checking and IDE support without any additional pluginssuper().__init__(type=type,withdrawal_state=withdrawal_state,**__pydantic_kwargs)