-
Notifications
You must be signed in to change notification settings - Fork 511
Open
Labels
Description
In the process of using in a production environment, we often need to trace the source and operation of each request, that is, link tracing.
In the current scenario, although telebot has implemented a handler mode similar to http, it is completely unadaptable to link tracing. It would be much better if we just add context.Context to the Update object or try to pass messages not through Update but directly through *Context.
I think this is a problem worth considering. When I tried to combine this package with microservice systems and message queues to improve message processing efficiency and concurrency capabilities, I found that it could not associate the message context, which is fatal.
MikhailChe, swithek, meoww-bot, lzakharov, vitaliy-ukiru and 9 more