RevenueWithdrawalStateSucceeded¶
- class telegram.RevenueWithdrawalStateSucceeded(date, url, *, api_kwargs=None)[source]¶
Bases:
telegram.RevenueWithdrawalStateThe withdrawal succeeded.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
dateare equal.Added in version 21.4.
- Parameters:
date (
datetime.datetime) – Date the withdrawal was completed as a datetime object.url (
str) – An HTTPS URL that can be used to see transaction details.
- type[source]¶
The type of the state, always
'succeeded'.- Type:
- classmethod de_json(data, bot=None)[source]¶
Converts JSON data to a Telegram object.
- Parameters:
bot (
telegram.Bot, optional) –The bot associated with this object. Defaults to
None, in which case shortcut methods will not be available.
- Returns:
The Telegram object.