I am a new beginner in Telegram bot now I test a telegraom bot with simple respond. As we know, we can use python for telegram. There is my code:
from telegram.ext import Updater, CommandHandler
def hello(bot, update):
update.message.reply_text(
'Hello {}'.format(update.message.from_user.first_name))
updater = ipdater(token='xxx')
updater.dispatcher.add_handler(CommandHandler('hello', hello))
updater.start_polling()
updater.idle()
now i input "/hello" in the telegram bor, it can reply "Hello, myname"
I want to know how to run the bot without commandline?
For example, I input "hello", Can it reply "Hello, myname"?