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.Available In
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:
- __format__(format_spec, /)[source]¶
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.
- classmethod __init_subclass__()[source]¶
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- classmethod __subclasshook__(object, /)[source]¶
Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).