Enrico204
d56841d3dc
Add error parameters from JSON error to APIError
2021-03-27 12:07:59 +02:00
Enrico204
844bbc5c97
Remove unused regex and format errors and utils files
2021-03-27 12:07:59 +02:00
Enrico204
24ffa44e36
Parse error messages using JSON parser instead of regexes
2021-03-27 12:07:59 +02:00
Demian
315d880be7
errors: update and implement flood error
2020-11-03 22:06:00 +02:00
Demian
f82c0ec609
telebot: fix linter inspection problems
2020-05-21 12:02:35 +03:00
demget
fa41701896
Merge pull request #294 from aofei/v2
...
errors: fix regular expression
2020-05-18 21:47:50 +03:00
Aofei Sheng
bd0dd26192
errors: fix regular expression
...
Telegram Bot API now returns an extra field for error responses, such
as: {"ok":false,"error_code":429,"description":"Too Many Requests: retry
after 8","parameters":{"retry_after":8}}
2020-05-18 18:41:41 +08:00
Ian Patrick Badtrousers
d7c155f97e
keyboards: simple constructors added
2020-05-13 03:33:12 +02:00
Orivej Desh
e1f3fbce0c
errors: add ErrNotStartedByUser
2020-04-27 21:29:56 +00:00
Demian
b44f36425c
errors: remove extra space
2020-04-27 21:13:09 +03:00
Demian
9b11223d56
bot: complete Polls 2.0 API
2020-04-24 17:52:15 +03:00
Demian
ad254b61d9
errors: add ErrButtonDataInvalid
2020-04-23 21:55:52 +03:00
unknown
e5789a08bb
Refactor unexported code
2020-04-06 16:04:25 +03:00
unknown
b9700ba874
Rename errors to make it more clearer
2020-04-05 22:09:40 +03:00
unknown
c04b55dcba
Add missed api errors
2020-04-05 21:29:05 +03:00
unknown
ce43c6a8a2
Refactor code, fix code style issues
2020-04-05 20:23:51 +03:00
Artem
d821e6b78d
go fmt
2020-03-28 03:28:28 +00:00
Artem
97291ef25b
errors: switch differentiation in bot.Raw()
2020-03-28 03:26:26 +00:00
Artem Siryk
cce5287f94
errors: renamed Error to ApiError; it now satiesfies error
2020-03-28 03:21:38 +00:00
Artem Siryk
0d3d5fdc94
errors: static error mappings introduced
2020-03-28 03:16:20 +00:00
Ilya Kowalewski
6e16b55de1
Getting rid of excessive error types, switching to fmt.Errorf
2015-10-15 18:17:09 +03:00
Ilya Kowalewski
e041242bb2
Fixed a bunch of lint issues
2015-07-03 21:58:29 +03:00
Ilya Kowalewski
6a4863ece8
Sending photos, API improvements
2015-07-02 21:39:39 +03:00
Ilya Kowalewski
fa51650dad
A little more documentation, code cleanup
2015-06-27 18:55:12 +03:00
Ilya Kowalewski
745b4bc76f
Sending messages: basic functionality
2015-06-26 19:12:54 +03:00
Ilya Kowalewski
25b2575f10
Message handling: Listen(), AddListener(), Listener
2015-06-26 10:34:10 +03:00
Ilya Kowalewski
37f537bfab
Minor documentation fixes
2015-06-25 22:43:19 +03:00
Ilya Kowalewski
4bb4333bb1
Minimal auth functionality: Create()
2015-06-25 22:32:41 +03:00