mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Merge pull request #1338 from barbax7/exceptions
Added description of the ApiTelegramException as attribute of the class
This commit is contained in:
@ -1661,4 +1661,5 @@ class ApiTelegramException(ApiException):
|
||||
result)
|
||||
self.result_json = result_json
|
||||
self.error_code = result_json['error_code']
|
||||
self.description = result_json['description']
|
||||
|
||||
|
Reference in New Issue
Block a user