TelegramBotFramework
TelegramBotFramework copied to clipboard
Bot Form Lifecycle
Hi
I'm building a bot which should work with other services of my applicaiton(i.e database). Right now I'm not sure that is't correct to inject database context(or any other services) into forms. Reason I think so is that forms are newer disposed.
To justify my conserns, i would like to know lifecycle of Form component. So I will have understanding at which moment injected services will be released.