Skip to content
Back to top
View this page

# RevenueWithdrawalStateSucceeded

class telegram.RevenueWithdrawalStateSucceeded(date, url, *, api_kwargs=None)

  Bases: `telegram.RevenueWithdrawalState`

  The withdrawal succeeded.

  Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their `date` are equal.

  Available In

  `telegram.TransactionPartnerFragment.withdrawal_state`

  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

    The type of the state, always `'succeeded'`.

    Type:

      `str`

  date

    Date the withdrawal was completed as a datetime object.

    Type:

      `datetime.datetime`

  url

    An HTTPS URL that can be used to see transaction details.

    Type:

      `str`

  classmethod de_json(data, bot=None)

    See `telegram.RevenueWithdrawalState.de_json()`.