Telegram Bot Setup Tutorial

in #dlive7 years ago (edited)

Thumbnail

This is a tutorial about creating a telegram bot that is used for the telegram-reply-bot for steem. This idea originally came as questions flooded in about how to setup the telegram reply bot. I want people to know how to use this project successfully, so I created this tutorial that is basically how to use it including setting up your telegram service.

Here is the Video

My video is at DLive

Further Instructions

Some additional (really, they're the same) instructions on how to set this up.

Botfather

  1. Start a conversation in Telegram with Botfather
  2. Use /newbot to create your bot
  3. Save your token

telegram-reply-steem-bot

Setting this up is easy

docker run --rm -e STEEM_NAME=$STEEM_NAME  -e BOT_TOKEN=$BOT_TOKEN r351574nc3/telegram-reply-steem-bot:latest
Unable to find image 'r351574nc3/telegram-reply-steem-bot:latest' locally
latest: Pulling from r351574nc3/telegram-reply-steem-bot
ff3a5c916c92: Already exists 
63a202309518: Already exists 
1757900183ba: Pull complete 
946ee0e23308: Pull complete 
94aecc19b4da: Pull complete 
9d9cc6c94c13: Pull complete 
41219978b702: Pull complete 
a2728d3e09d6: Pull complete 
Digest: sha256:cf1220972904f60f304c09c783d63b8587acf1c3238e2564fcdda1a21b4bd6a1
Status: Downloaded newer image for r351574nc3/telegram-reply-steem-bot:latest

> telegram-reply-steem-bot@0.1.0 start /app
> npm run serve


> telegram-reply-steem-bot@0.1.0 serve /app
> node dist/server.js

That is it. You are now running.

Start a Conversation with your Bot

You need to initiate a conversation to get those replies.

  1. Open a conversation with your bot
  2. Use /start <your steem name> <your steem wif>

You will see something like this:

That's it! You will now get replies in telegram.

Contact Me

If you have questions, you can reach me on Telegram

Sort:  

Finally! I would love to see more features in telegram with this.

Thank you your postingan is very usefull....

This is very useful information ! I really liked this .......... Thank you so much