go-tg
go-tg copied to clipboard
🤖 Go client library for accessing Telegram Bot API, with batteries for building complex bots included.
It can be useful for: - logging - auto retry in case of flood control
e.g. Rate Limiter
Does the session automatically delete when the user has no interaction for a long time? Or when should I trigger it
- [ ] define sum type for `BackgroundFill` and `BackgroundType` (may be generate?)
## Summary by Sourcery Add a new 'Paid' reaction type to the reaction system, enabling the handling and serialization of paid reactions alongside existing emoji and custom emoji types. New...
Example with session.Manager + tgb.Router.MessageReaction() ```golang router := tgb.NewRouter(). Use(sessionManager). // *session.Manager[T] Message(func(ctx context.Context, msg *tgb.MessageUpdate) error { // this works // TODO... return nil }). MessageReaction(func(ctx context.Context, reaction *tgb.MessageReactionUpdate)...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0. Release notes Sourced from github.com/stretchr/testify's releases. v1.10.0 What's Changed Functional Changes Add PanicAssertionFunc by @fahimbagar in stretchr/testify#1337 assert: deprecate CompareType by @dolmen in stretchr/testify#1566...