Nash-Well
5ff8b89b2b
errors: provide an error bot is not channel chat member ( #659 )
...
* errors: provide an error bot is not channel chat member
* errors: refactor
2024-02-29 14:01:28 +02:00
Demian
71ac2995cc
errors: implement ErrIs
2023-11-22 16:43:51 +01:00
Demian
76f1c0eef8
errors: add missed entries to Err
2023-11-19 21:18:17 +01:00
awohsen
4e31cc6eac
errors: add join request related errors ( #570 )
2023-11-19 22:12:52 +02:00
demget
699e5dbbdd
errors: add ErrKickedFromChannel
2023-05-23 15:10:04 +03:00
Demian
d90e8974cc
telebot: restructure and refactor
2022-10-06 00:45:27 +03:00
Nikita
54d6d11678
errors: add forward message
2022-02-05 18:23:18 +03:00
Demian
f0291132d3
errors: complete the list
2022-01-30 13:58:53 +02:00
Demian
9805b1f622
errors: refactor
2022-01-30 13:22:58 +02:00
Enrico204
cb3170d510
Add error parameters from JSON error to APIError
2021-07-25 15:17:20 +03:00
Enrico204
87a87bd338
Remove unused regex and format errors and utils files
2021-07-25 15:17:14 +03:00
Enrico204
ff90c378bb
Parse error messages using JSON parser instead of regexes
2021-07-25 15:17:07 +03:00
Demian
e467d6286c
errors: update and implement flood error
2020-11-03 22:18:58 +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