1
Commit Graph

184 Commits

Author SHA1 Message Date
Andrew Privalov
337def9889
- add option WithInitialOffset(offset int64) - allows to set initial offset for getUpdates method (#148) 2025-01-13 10:59:56 +03:00
negasus
233ff74107 changelog 2025-01-11 12:26:46 +03:00
negasus
df6e60b105 upd readme 2025-01-10 16:21:29 +03:00
negasus
6317bb0bb5 - add method bot.ID() int64
- add method `bot.Token() string`
2025-01-10 12:00:32 +03:00
negasus
0965b615d9 update changelog 2025-01-10 11:13:20 +03:00
Andrew Privalov
934a13aa87
api 8.2 (#144)
* api 8.2

* fix readme
2025-01-10 11:11:35 +03:00
negasus
6bbaef2579 fix unmarshal ChatBackground 2025-01-10 11:01:16 +03:00
Andrew Privalov
107a94ed42
Validate webapp - change returns model (#143)
* ValidateWebappRequest returns WebAppUser model

* fix readme
2025-01-10 10:36:46 +03:00
negasus
243d1ab004 changelog 2024-12-23 11:13:28 +03:00
negasus
03b55ab57a add some checks 2024-12-23 11:12:50 +03:00
David Ramiro
aac17446ae
feat: add handler type for photo captions (#138)
* feat: add handler type for photo captions

* doc: add photo caption handler to readme
2024-12-23 11:04:26 +03:00
Andrew Privalov
dda407358e
8.1 (#137)
* api 8.1

* readme
2024-12-19 15:12:11 +03:00
negasus
2ca16892f9 fix CreateNewStickerSetParams 2024-11-21 11:00:16 +03:00
Andrew Privalov
a12a771e33
API v8.0 (#133)
* bot api 8.0

* readme
2024-11-18 11:37:50 +03:00
andig
8acf38b858
Fix gofmt (#131) 2024-11-08 12:17:20 +03:00
negasus
4acba80cf3 changelog 2024-11-08 11:02:23 +03:00
andig
78afaa2124
Fix arm64 panic (#130) 2024-11-08 11:01:22 +03:00
Andrew Privalov
7500be4241
v7.11 (#127) 2024-10-31 18:39:49 +03:00
negasus
ffe9424d23 changelog 2024-10-21 11:48:06 +03:00
Murat Dautov
e882a7189a
Fixes #125 (#126) 2024-10-21 11:44:53 +03:00
negasus
b5f06d9338 update readme 2024-10-17 13:54:50 +03:00
negasus
138b0c78b0 add option WithNoAsyncHandlers 2024-10-17 11:17:15 +03:00
negasus
a160547a6e changelog 2024-10-10 16:25:17 +03:00
negasus
25534c7d08 fix comment 2024-10-10 16:24:24 +03:00
negasus
83b3a32661 fix link 2024-10-10 16:24:06 +03:00
acatec
c54fc0d86f
added getBusinessConnection method https://core.telegram.org/bots/api#getbusinessconnection (#123) 2024-10-10 16:23:24 +03:00
negasus
c5814e4e34 changelog 2024-10-07 11:17:58 +03:00
negasus
26ec1b706d fix golangcilint version 2024-10-07 11:13:36 +03:00
negasus
ef2ee0a1eb update actions version 2024-10-07 11:11:28 +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
36f64b9589 - change field type FromChatID from string to any for ForwardMessageParams, ForwardMessagesParams, CopyMessageParams and CopyMessagesParams params 2024-09-23 10:31:59 +03:00
negasus
5978d3f86f changelog 2024-09-16 12:06:25 +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
Oanh Nguyen
6f8231df77
add 'HandlerTypeCallbackQueryGameShortName' (#108) 2024-09-16 11:16:03 +03:00
TBXark
db32473a6a
feat: add middlewares for handler (#105)
* feat: each handler can add middleware.

* fix: singleFlight middleware example
2024-09-16 11:10:59 +03:00
Andrew Privalov
581c533020
7.10 (#114)
* 7.10

* changelog
2024-09-13 15:43:05 +03:00
negasus
463c180562 changelog 2024-09-10 18:25:47 +03:00
negasus
f31379d61a simplify 2024-09-10 18:24:43 +03:00
Oanh Nguyen
093a9a0256
Fix 'findHandler' to be correct for 'RegisterHandlerMatchFunc' with 'CallbackQuery' (#107) 2024-09-10 18:13:16 +03:00
negasus
a19ef6f2de changelog 2024-08-23 17:13:45 +03:00
negasus
0210313579 fix: pass error with %w instead %v after rawRequest 2024-08-23 17:13:25 +03:00
Andrew Privalov
addc1c9e3a
add option UseTestEnvironment (#109)
* add option `UseTestEnvironment` #89

* add test
2024-08-22 11:45:37 +03:00
Andrew Privalov
b3b73e94e1
7.9 (#103)
* api 7.9

* changelog, readme
2024-08-14 16:43:42 +03:00
negasus
8e44d4e7c6 update changelog 2024-07-25 15:31:42 +03:00
negasus
e7faad5f40 add ValidateWebappRequest func 2024-07-25 15:30:52 +03:00
negasus
59eecdf891 add example edit_message 2024-07-18 17:48:41 +03:00
Renato Saksanni
8082f3c9d5
Add some unit tests (#92)
* Add some unit tests

* Add some fixes and remove deps

* Add some webhook_handler logic fixes and test

---------

Co-authored-by: renato.saksanni <renatosaksanni@ALG-RenatoSaksanni-C02GX30QQ05P.local>
2024-07-18 17:40:36 +03:00