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:
parent
4dce9340b0
commit
5fb48e68a0
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||||
|
@ -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']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user