RevenueWithdrawalState¶
- class telegram.RevenueWithdrawalState(type, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis object describes the state of a revenue withdrawal operation. Currently, it can be one of:
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
typeis equal.Available In
Added in version 21.4.
- Parameters:
type (
str) – The type of the state.
- classmethod de_json(data, bot=None)[source]¶
Converts JSON data to the appropriate
RevenueWithdrawalStateobject, i.e. takes care of selecting the correct subclass.- Parameters:
data (dict[
str, …]) – The JSON data.bot (
telegram.Bot) – The bot associated with this object.
- Returns:
The Telegram object.