Telegram Bot
Hi people, today we are going to create a telegram Bot and obtain his Token and Chat-id.
Open telegram
Search Bottom for ( BotFather )
or
START Dialog
/newbot
Write the Name for your Bot
Someprivate:token123456
Click on the Bot-name created and add some description.
for more commands and setup
/help
Here is done you have created one Telegram bot. take the token file and bot name and saved for later.
It does not matter if you close the chat with Botfather, the bot is already created and you have already saved your keys.
SEARCH YOUR BOT AND OPEN CHAT WITH THE BOT
Important said hi.
Now leave telegram open and open Ubuntu terminal
sudo apt install python-pip
sudo pip install python-telegram-handler
After install:
You are using pip version 8.1.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
DONT DO . ANY UPGRADE.
sudo python -m telegram_handler <your token here>
CONGRATULATIONS
Now you have One TelegramBot with Token and CHAT-ID
For more info about telegram bot
https://core.telegram.org/bots#6-botfather
Github repo
https://github.com/sashgorokhov/python-telegram-handler
Have nice day and enjoy your bot.
https://twitter.com/cryptoMelea
https://www.instagram.com/cryptomelea/
Leave Telegram Bot to:
Read more #telegrambot posts
Best Posts From Crypto melea
We have not curated any of melea's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Crypto melea
- The Kusama network is coming
- Run IRIS_Network Node and bacon a Validator. with Docker 2 commands no need install.
- Build Cosmos Node Docker, no need install.
- Build your own XTZ Tezos Node for mainnet
- Build a Polkadot validator node to be a Block Producer in the Blockchain Poc-2
- Montar un nodo para Polkadot y nominarte para Validator (Productor de Bloques)
- Build Polkadot Validator node POC-2 in Ubuntu and sync from block #798,671
- Do you Become Bacon like Validator for Cosmos in Gaia-7000 = Invitation here!
- How to become a Validator Node In the Cosmos Blockchain. (Install Golang + Cosmos SDK)
- Telegram Bot