intergram
intergram copied to clipboard
away mode
HI, any plans to add an away mode?
Yes, but I'm not sure how I want to do it. Right now the server is stateless and knows nothing about the users availability. Do you think that it would be enough to set availability days and time in the injected script?
Something like:
<script>
window.intergramId = 123;
window.intergramAvailabilityDays = ["Monday", "Tuesday", "Wednesday", "Thursday"];
window.intergramAvailabilityHours = ["9-17", "9-17", "9-17", "10-16"];
</script>
<script id="intergram" type="text/javascript" src="https://www.intergram.xyz/js/widget.js"></script>
Also, how did you hear about this project? I didn't really publish it yet :)
Hi, this would certainly help. Is there no way to use a manual on/off command to display not-available message.
… I was browsing github ;-) … since I'm curious re Tg. I created a bot with a developer friend a couple of weeks ago (on Tg @netpsbot)
Right now I can't think of a way to add manual on/off without introducing state to the system.
Another option is setting an auto response on the UI side after a configurable number of minutes if there is not response from the chat owner.
Can you check the user's status via Telegram?