Advertisement
y2kbug

telegram passport output 2

May 29th, 2019
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.60 KB | None | 0 0
  1. 2019-05-30 03:04:33,675 - telegram.utils.webhookhandler - DEBUG - Webhook received data: {"update_id":27480284,
  2. "message":{"message_id":3633,"from":{"id":35667680,"is_bot":false,"first_name":"\u30ed\u30b8\u30e3\u30fc","last_name":"\u0669( \u141b )\u0648","username":"rogerleung","language_code":"en"},"chat":{"id":35667680,"first_name":"\u30ed\u30b8\u30e3\u30fc","last_name":"\u0669( \u141b )\u0648","username":"rogerleung","type":"private"},"date":1559185473,"passport_data":{"data":[{"type":"personal_details","data":"tDaWzm6hdPVgb52kQHu/DLjAVnXt9Z+d5pT66uoQLM/HrPd6Ewgh+lLhRd3JlRGdsV6xhGp83/ScusqUkiDTnBULiZYa7+QE7c2DX9BEsMlCRHWy7vq/S8g7g8Eh2FDz/nTMH3mS4fLsjPegSkwX0dW1nUAx0tfMTzLCgmEspPBj1wvSrcbmX2rCupUdgrq1UIvWJKXx8K2IV3lfixAaGUY7rqiC11FBsa1mpc9P6LU6VCj64XxgvqD5b6oDDXdntye6mbFKAUnVLlzqjaicJIVHH3MRqLVOU1lyNoZRjz2VSW8VaAviPOMvGpasHS5WX/nmfcZ7j3pK649AxaTrmhlaSkaZz7l02vwd2AYYbc0=","hash":"7feATcSP5FcnRwF2p+s/oSBooeDJcHNuVT990+d0PZ4="}],"credentials":{"data":"iwukBMS1LO19nu1MG2NvzULKATZIymKtqa5ar9QsnerU8XZNkGFqqitE8la5FdIkwynZUQRHnumpUpEG41bNw3vp7UtuT46kHZlId6koe57zL3hMycRXx8e8jRVhskZqDY69v9QQWBnIau8I8nsa6JHmttyTo3ZZFsKLX9lC4ijwynuYRQlcPARwyIFWBU+RIlO4cuLvY+syAK0yfRVRizSAu14UFN7dwWx7S/Bih/O35RqQ8EUFHa4rG/RhDeSvQEtbuWscJaoAAs4372S+qxUwL8kt4oyS1EJ++UYFHWw=","hash":"D203E9I5rBfuSAtT/1HRRP+OfeIKAckXRDgrzR9BYZs=","secret":"hUR4bsPbH/l124yOSYtteOG9Ef8ui+p81Pzub4b3VKIeUDgbMb2R3lpU2RKY9eYUfBEN/s9RIn2dEkOysvnMrqKpMmh4DnCYbXVkW8a3yyA55tdhgqiLZaV7u4oQR2ELOodJyWBwYOWl9PTOdWoMKqxvU6Yp06Y+5k5kMdMf5fW5D+qNxaQUgQq1zHfKIvc9g9HIulMus0N+YKakY1fG9OuIBvAiYmjCH/ak+9C5X/mhtphS4rwQuDK9KOlqV2ubuJQzvWMenqHowCPTDA36Ei8KbShJIC6r4NmVfz9B5TsotnFbYWcSU35Wwxg3VTBMLc6d3wpGy8wOq7F94ppUZw=="}}}}
  3. 2019-05-30 03:04:33,676 - telegram.utils.webhookhandler - DEBUG - Received Update with ID 27480284 on Webhook
  4. 2019-05-30 03:04:33,676 - telegram.ext.dispatcher - DEBUG - Processing Update: {'update_id': 27480284, 'message': {'message_id': 3633, 'date': 1559185473, 'chat': {'id': 35667680, 'type': 'private', 'username': 'rogerleung', 'first_name': 'ロジャー', 'last_name': '٩( ᐛ )و'}, 'entities': [], 'caption_entities': [], 'photo': [], 'new_chat_members': [], 'new_chat_photo': [], 'delete_chat_photo': False, 'group_chat_created': False, 'supergroup_chat_created': False, 'channel_chat_created': False, 'passport_data': {'data': [{'type': 'personal_details', 'data': 'tDaWzm6hdPVgb52kQHu/DLjAVnXt9Z+d5pT66uoQLM/HrPd6Ewgh+lLhRd3JlRGdsV6xhGp83/ScusqUkiDTnBULiZYa7+QE7c2DX9BEsMlCRHWy7vq/S8g7g8Eh2FDz/nTMH3mS4fLsjPegSkwX0dW1nUAx0tfMTzLCgmEspPBj1wvSrcbmX2rCupUdgrq1UIvWJKXx8K2IV3lfixAaGUY7rqiC11FBsa1mpc9P6LU6VCj64XxgvqD5b6oDDXdntye6mbFKAUnVLlzqjaicJIVHH3MRqLVOU1lyNoZRjz2VSW8VaAviPOMvGpasHS5WX/nmfcZ7j3pK649AxaTrmhlaSkaZz7l02vwd2AYYbc0='}], 'credentials': {'data': 'iwukBMS1LO19nu1MG2NvzULKATZIymKtqa5ar9QsnerU8XZNkGFqqitE8la5FdIkwynZUQRHnumpUpEG41bNw3vp7UtuT46kHZlId6koe57zL3hMycRXx8e8jRVhskZqDY69v9QQWBnIau8I8nsa6JHmttyTo3ZZFsKLX9lC4ijwynuYRQlcPARwyIFWBU+RIlO4cuLvY+syAK0yfRVRizSAu14UFN7dwWx7S/Bih/O35RqQ8EUFHa4rG/RhDeSvQEtbuWscJaoAAs4372S+qxUwL8kt4oyS1EJ++UYFHWw=', 'hash': 'D203E9I5rBfuSAtT/1HRRP+OfeIKAckXRDgrzR9BYZs=', 'secret': 'hUR4bsPbH/l124yOSYtteOG9Ef8ui+p81Pzub4b3VKIeUDgbMb2R3lpU2RKY9eYUfBEN/s9RIn2dEkOysvnMrqKpMmh4DnCYbXVkW8a3yyA55tdhgqiLZaV7u4oQR2ELOodJyWBwYOWl9PTOdWoMKqxvU6Yp06Y+5k5kMdMf5fW5D+qNxaQUgQq1zHfKIvc9g9HIulMus0N+YKakY1fG9OuIBvAiYmjCH/ak+9C5X/mhtphS4rwQuDK9KOlqV2ubuJQzvWMenqHowCPTDA36Ei8KbShJIC6r4NmVfz9B5TsotnFbYWcSU35Wwxg3VTBMLc6d3wpGy8wOq7F94ppUZw=='}}, 'from': {'id': 35667680, 'first_name': 'ロジャー', 'is_bot': False, 'last_name': '٩( ᐛ )و', 'username': 'rogerleung', 'language_code': 'en'}}}
  5. 2019-05-30 03:04:33,680 - telegram.ext.dispatcher - ERROR - An uncaught error was raised while processing the update
  6. Traceback (most recent call last):
  7. File "/usr/local/lib/python3.7/site-packages/telegram/ext/dispatcher.py", line 279, in process_update
  8. handler.handle_update(update, self)
  9. File "/usr/local/lib/python3.7/site-packages/telegram/ext/messagehandler.py", line 169, in handle_update
  10. return self.callback(dispatcher.bot, update, **optional_args)
  11. File "bot.py", line 1828, in passport_handler
  12. if passport_data.decrypted_credentials.nonce != '123456':
  13. File "/usr/local/lib/python3.7/site-packages/telegram/passport/passportdata.py", line 105, in decrypted_credentials
  14. return self.credentials.decrypted_data
  15. File "/usr/local/lib/python3.7/site-packages/telegram/passport/credentials.py", line 198, in decrypted_data
  16. self.bot)
  17. File "/usr/local/lib/python3.7/site-packages/telegram/passport/credentials.py", line 223, in de_json
  18. return cls(bot=bot, **data)
  19. TypeError: __init__() missing 1 required positional argument: 'payload'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement