1
Commit Graph

24 Commits

Author SHA1 Message Date
negasus
6317bb0bb5 - add method bot.ID() int64
- add method `bot.Token() string`
2025-01-10 12:00:32 +03:00
andig
8acf38b858
Fix gofmt (#131) 2024-11-08 12:17:20 +03:00
andig
78afaa2124
Fix arm64 panic (#130) 2024-11-08 11:01:22 +03:00
negasus
138b0c78b0 add option WithNoAsyncHandlers 2024-10-17 11:17:15 +03:00
negasus
73f14fb23f add comment to SetToken function 2024-10-07 11:11:11 +03:00
jonkofee
7cfbcff87f
add bot.SetToken (#122) 2024-10-07 11:01:49 +03:00
negasus
5d33d71e77 remove middlewaresMx 2024-09-16 11:58:56 +03:00
Andrew Privalov
11f90488e0
change handlers map to slice (#115) 2024-09-16 11:38:22 +03:00
Raman Antanevich
d82ce2e70f
feat: Ability to process updates across multiple gorutines (#112) 2024-09-16 11:16:36 +03:00
Andrew Privalov
addc1c9e3a
add option UseTestEnvironment (#109)
* add option `UseTestEnvironment` #89

* add test
2024-08-22 11:45:37 +03:00
Dharsan
7f34de577e
Feature: Ability to verify webhook secret token inside the bot program (#95)
* feat(webhook-token): ability to verify webhook secret token inside the bot program

* test(webhook-token): added additional tests for wrong tokens
2024-06-28 12:13:43 +03:00
Daniel Apatin
1506bae804
add WithAllowedUpdates option (#65)
* add WithAllowedUpdates option

* Add WithAllowedUpdates method description to README.md
2024-03-04 19:06:02 +03:00
Negasus
f350496449 add function bot.FileDownloadLink 2023-12-07 10:51:53 +03:00
Negasus
b503429910 - update defaultUpdatesChanCap from 64 to 1024 2023-08-14 12:55:32 +03:00
Negasus
e0160cc185 check for empty token on bot init 2023-06-13 16:47:20 +03:00
Andrew Privalov
4a9fb6f692
add option WithSkipGetMe (#32) 2023-05-16 10:38:28 +03:00
Negasus
b71ba48e0c add debug handler option 2023-04-13 11:39:58 +03:00
Negasus
e33efbedec - add helpers bot.True() and bot.False() for define *bool values 2023-04-10 10:43:31 +03:00
Negasus
8b4fe66d70 add some comments 2023-01-19 11:33:13 +03:00
Andrew Zhukovskiy
bf349456e6
Added RegisterHandlerMatchFunc (#9)
which registers handler that can be matched based on
arbitrary `func(update *models.Update) bool`
2022-12-26 12:27:35 +03:00
Andrew Privalov
3b96799879
Check on start (#6)
* call getMe on New and returns error

* update changelog
2022-10-14 13:48:02 +03:00
Negasus
436e67cd77 refactoring, add missing sticker methods 2022-05-06 12:47:43 +03:00
Negasus
30c9ee6b68 add webhook support, refactoring bot api 2022-05-02 19:39:04 +03:00
Negasus
a030f389d9 initial 2022-04-25 19:02:51 +03:00