How to Create a Telegram Bot

How to Create a Telegram Bot

What is a bot ?

Bots are special accounts designed to handle messages automatically.

Telegram Bots are simply automated telegram accounts programmed to perform a particular set of tasks in a pre-defined way. Often times, these bots have additional features such as customizable keyboards, different privacy settings and shortcut commands.

What exactly can it do ?

Bots can be used to do anything including teach, play, search, broadcast, remind, connect and integrate with other services.

They cannot initiate a conversation and only interact with the user once they are prompted.

HOW TO CREATE A BOT ?

( Assuming you have already downloaded and installed Telgram Messenger application )

Let's get started...

1. Search for BotFather

Botfather is A bot used to create other new bots and change settings for existing ones.

Warning: YOU ARE NOT REQUIRED TO MAKE ANY PAYMENTS WHEN CREATING A BOT.
Fake Botfather accounts may ask you to pay. To avoid this, Ensure you type out the word " BotFather " exactly as it appears in the screen shot below.

2. Select the BotFather account , Open it and Select START

Typing / Selecting start will present you with a list of instructions that you can use to create and manipulate bots.

3. Use the /newbot command to create a new bot.

The BotFather will ask you for a name and username.

a. Name – this is the Name of your profile account it will be displayed in contact details and elsewhere. This name does not need to be unique.

b.Username – The Username is a short name, to be used in mentions and telegram.me links., this has to be unique and has to end with the word bot. e.g OngairBot

*Usernames should be between 5-32 characters long. They are case insensitive and may only include Latin characters, numbers, and underscores. *

4. Save your Access Token

Once you have selected an appropriate name and a unique username, you should receive a message notifying you that your new bot was successfully created. This message will also contain an Access Token for your newbot.

The Access Token is a string in the format: 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALD that will be required to authorize the bot and send requests to the Bot API.

You will also need to provide this token when creating your Telegram account on Ongair.

Ensure you Save this message on your device or better yet , Email it to yourself so that you can easily access it when activating your Telegram account on Ongair

That was pretty cool wasn't it ? It gets better...Now that you've created your own bot, Try out our 14 day trial on ongair.im and talk to your customers via Telegram.

Let us know what you think.

LetsOngair

//www.gravatar.com/avatar/e69e54b20cf78b351a4395b55f41bdea?s=250&d=mm&r=x

Show some love

Latest posts

Recent Tweet