mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-16 12:25:45 +01:00
Payment ids should be unique... probably
This commit is contained in:
parent
402e1381bb
commit
5f96c507b9
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ class SuccessfulPayment(TelegramObject):
|
|||
self.telegram_payment_charge_id = telegram_payment_charge_id
|
||||
self.provider_payment_charge_id = provider_payment_charge_id
|
||||
|
||||
self._id_attrs = (self.telegram_payment_charge_id, self.provider_payment_charge_id)
|
||||
|
||||
@staticmethod
|
||||
def de_json(data, bot):
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue