Skip to content

Latest commit

 

History

History
77 lines (46 loc) · 1.78 KB

easyBot.md

File metadata and controls

77 lines (46 loc) · 1.78 KB

easyBot

Create your own telegram bot to receive easymn.services notifications for your MNs

bot_easymn

Create a Telegram Bot

In order to create a Telegram Bot, you will need to contact @BotFather.

bot_botfather

Steps are:

  1. Send /newbot in @BotFather chat

bot_newbot

  1. Give a human-readable name for the bot, e.g. myEasyMN

bot_mybot

  1. Give a computer-readable username for your bot, e.g. myEasyMN_bot

bot_mybot1

  1. Then @BotFather will provide you a token for HTTP API. Provide this HTTP API token to easyMN.services.

bot_api

  1. This step is very important! Now, search your bot with the username you've just set and send the bot an initial message like "Hello bot" to activate the bot.

  2. OPTIONAL: Change the bot picture

  • Send /mybots in @BotFather chat
  • Choose your bot from the list
  • Select "Edit bot"
  • Select "Edit botpic"

bot_botpic

Get your Telegram User ID

In order to get your Telegram User ID, you will need to contact @userinfobot.

bot_userinfobot

Steps are:

  1. Send /start in @userinfobot chat and you get your Telegram User ID

bot_telegramid

Provide the information to easyMN.services

Send an email to [email protected] with the following information:

  1. Your contract number (find it on your invoice)
  2. The Telegram token for HTTP API
  3. Your Telegram User ID