-
Notifications
You must be signed in to change notification settings - Fork 7
Extend telegram bot #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey, thanks for the support! As for how to go about it, it would be same as you have mentioned, edit that part of the code, assign handlers for additional commands and fill out the functions. I don't know of another way. |
Makes sense! It's safer if the user just logins to the cluster via the usual methods.
Haven't defined this yet, but as ideas:
|
I want to use the telegram bot to send more notifications regarding the cluster, e.g. "warning: you are reaching your max storage quota". I'd say is a bit out of scope for this library to implement it directly. But, it would be ideal if we could reuse functionality, something like:
Or even for any connector with a go package?
or from the cmd line $ goslmailer-send "some message" "some username" --connector telegram|email|etc Does this make sense? I'm just kind of brainstorming here 😁 |
Hey, that's some interesting brainstorm you've dropped here. I've picked 2 use cases that i found to be technically "different", then i try to envision how the end product would look from the user perspective, and which components would i need to have in place to execute that product.
For those two i tried then to envision what needs to exist to execute them.
In both cases, what's def. needed is a map between telegram user uids and cluster uids ( Other questions:
For now, the scope of what you've described is huge and in all that i see goslmailer might play just a tiny part from all the other components that might be missing. Unless we brainstorm-trim this down to some fundamentals significantly. |
Thanks for the reply! This looks interesting.
|
Hey, that's quite a thorough planning. Respect. |
Awesome library!
Is there a way to extend the telegram bot to answer more commands?
I suppose I can edit the source here and recompile, but I wonder if there is a different way to do this.
The text was updated successfully, but these errors were encountered: