Reddit post: http://www.reddit.com/r/Telegram/comments/3b1pwl/create_your_own_telegram_bot_stepbystep/
For a description of the Bot API, see this page: https://core.telegram.org/bots/api
-
Download Google App Engine SDK for Python from https://cloud.google.com/appengine/downloads and install it.
-
Click the
File
menu, chooseAdd Existing Application...
and browse to the folder with theapp.yaml
andmain.py
file. -
The project ID should appear as a row at the
Name
column. -
Click
Deploy
, enter your Google credentials, and your app should be installed to Google's servers. -
Open your Telegram client and send the message
/start
to your bot. (type @your-bot-username
at the search field to initiate the conversation) -
You can, for example, send
what time
to the bot and the bot will reply you. Try sending/image
as well. Mission completed!
To customize the bot, edit the main.py