telegram-daemon for server control

Instructions

  • Clone and follow instructions from here

  • After follow instructions to deploy as a service, copy files from etc in their directories.

  • Start telegram-cli manually and start a new encrypted chat with your desire account

    • create_secret_chat <user> - creates secret chat with this user. It gives you an user id necessary for control.lua file. It is necessary that <user> accept the encrypted chat
  • Program control.lua as you wish following samples