Looking for a Wrapper to Simplify Context Management in Effect with Telegram Bot

I have a very specific task, and does anyone have a ready-made solution? I have a very large number of context options, plus modifications (contexts for the Telegram bot (Mtcute)), and writing Context for each one is very labor-intensive and involves a lot of repetitive code. So, has anyone written a wrapper for objects that would execute methods through Effect, or does anyone have any advice on how best to do this?
Was this page helpful?