intergram icon indicating copy to clipboard operation
intergram copied to clipboard

away mode

Open thob opened this issue 8 years ago • 4 comments

HI, any plans to add an away mode?

thob avatar Jan 19 '17 20:01 thob

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 :)

idoco avatar Jan 19 '17 20:01 idoco

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)

thob avatar Jan 19 '17 20:01 thob

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.

idoco avatar Jan 19 '17 21:01 idoco

Can you check the user's status via Telegram?

arikfr avatar Feb 20 '17 15:02 arikfr