1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Added description of the ApiTelegramException as attribute of the class

This commit is contained in:
Andrea Barbagallo 2021-10-16 17:45:15 +02:00
parent 4dce9340b0
commit 5fb48e68a0
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -25,6 +25,7 @@ var/
.idea/ .idea/
venv/ venv/
.venv/
# PyInstaller # PyInstaller
# Usually these files are written by a python script from a template # Usually these files are written by a python script from a template

View File

@ -1661,4 +1661,5 @@ class ApiTelegramException(ApiException):
result) result)
self.result_json = result_json self.result_json = result_json
self.error_code = result_json['error_code'] self.error_code = result_json['error_code']
self.description = result_json['description']