Currently, when sharing a bot, the telegram bot token is also shared with the client. It's easy to stop the keys from being sent to the client for example with the patch below. But then the sharing user won't be able to share the telegram bot key.
A solution would be to specify at deployment time a telegram bot token (similar to the openai token), but then the whole telegram traffic would have to be proxied by unc.
Another option would be to provide a proper deployment for bots.
Currently, when sharing a bot, the telegram bot token is also shared with the client. It's easy to stop the keys from being sent to the client for example with the patch below. But then the sharing user won't be able to share the telegram bot key.
A solution would be to specify at deployment time a telegram bot token (similar to the openai token), but then the whole telegram traffic would have to be proxied by unc.
Another option would be to provide a proper deployment for bots.