X Tutup
Skip to content

Commit 5f96c50

Browse files
committed
Payment ids should be unique... probably
1 parent 402e138 commit 5f96c50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

telegram/successfulpayment.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def __init__(self,
5656
self.telegram_payment_charge_id = telegram_payment_charge_id
5757
self.provider_payment_charge_id = provider_payment_charge_id
5858

59+
self._id_attrs = (self.telegram_payment_charge_id, self.provider_payment_charge_id)
60+
5961
@staticmethod
6062
def de_json(data, bot):
6163
"""

0 commit comments

Comments
 (0)
X Tutup