Data about the describes the source of a transaction, or its recipient for outgoing transactions
Optional
giftThe gift sent to the user by the bot.
Optional
paidInformation about the paid media bought by the user
Optional
paidBot-specified paid media payload
Optional
payloadBot-specified invoice payload
Optional
requestThe number of successful requests that exceeded regular limits and were therefore billed
Optional
subscriptionThe duration of the paid subscription.
Type of the transaction partner
Optional
userInformation about the user
Optional
withdrawalState of the transaction if the transaction is outgoing
The client that instantiated this
Protected
_cloneProtected
_updateFlatten an object. Any properties that are collections will get converted to an array of keys.
Optional
propsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Rest
...props: Record<string, string | boolean>[]Optional. Specific properties to include/exclude, or rename.
Flattened object.
The client that instantiated this