vysheng / tg

telegram-cli
GNU General Public License v2.0
6.5k stars 1.54k forks source link

bot in daemon mode #1561

Open scimmiettarossa opened 6 years ago

scimmiettarossa commented 6 years ago

Hi I've created a bot, and I would use it with telegram-cli in daemon mode on a Raspberry PI, in order to interact with domotics, UPS status etc. I have faced two problems, mainly: a) I can use it to send notifications to other users (me and my family members), BUT before each of us has to contact the bot messaging it through the chat.... this is known, and it is not a problem in itself, but this behaviour repeats each time I reboot the Raspberry (the bot should exist in itself, even when the Raspberry is switched off.. doesn't it?) b) I created a group, including my family members AND the bot... all of them as admin: in this case, contacting the bot via chat does not work.. it receives no messages, and so it is no able to send us any notifications

How can I have it working? I need to use a bot (the next step would be to program some domotics interaction", an I need it in daemon mode

thanks for any help! Rosanna

scimmiettarossa commented 6 years ago

I forgot to say that I tried also in normal mode (no daemon), and the behaviour is the same: a) no notifications from the bot, UNLESS each of the recipents contacs it in advance, to be repeated at each Raspberry reboot b) no way to work with group