Closed Conny225 closed 8 years ago
/root/telegram-bot/tg/bin/telegram-cli:` unrecognized option '--permanent-peer-ids' Traceback (most recent call last): File "anlage.py", line 8, in <module> tg = Telegram(telegram='/root/telegram-bot/tg/bin/telegram-cli', pubkey_file='/root/telegram-bot/tg/t g-server.pub') File "/usr/local/lib/python2.7/dist-packages/pytg/__init__.py", line 52, in __init__ raise AssertionError("CLI Process died.") AssertionError: CLI Process `died.
I Need your Help. i can´t start my script.
import pytg from pytg import Telegram from pytg.sender import Sender from pytg.receiver import Receiver receiver = Receiver(host="localhost", port=4458) sender = Sender(host="localhost", port=4458) tg = Telegram(telegram='/root/telegram-bot/tg/bin/telegram-cli', pubkey_file='/root/telegram-bot/tg/tg-server.pub') receiver = tg.receiver sender = tg.sender sender.send_msg('*******', "Hello World!")
Sorry for my Bad English
I want to Send a Message, when a sensor is false. i only Need the code to send the Message.
change_user_group: can't find the user telegramd to switch to #81
change_user_group: can't find the user telegramd to switch to
I Need your Help. i can´t start my script.
Sorry for my Bad English
I want to Send a Message, when a sensor is false. i only Need the code to send the Message.