Pikachu Hosting Back

Telegram Bot Hosting

This is documentation of telegram bot hosting service offered on pikachuhosting.in

Bot Manager

Once you buy telegram bot hosting plan, go to client area of pikachuhosting.in > client area > telegram bot hosting > Login to bot panel

Add your bot

Get a token from @BotFather (send /newbot), then press Add bot and paste it.

Programme the bot

1# bot.py: the main file of your bot
2import os
3import telebot
4
5bot = telebot.TeleBot(os.environ["BOT_TOKEN"])
6
7
8@bot.message_handler(commands=["start"])
9def start(message):
10 bot.reply_to(message, "Hello!")
11
12
13bot.infinity_polling()

Points to be noted.

How to deploy

After matching the requirements above, click on Deploy, and check the Logs to see the status. If everything is fine your bot will be up!

Need help? Contact us