Telegram Bot Setup Video Walkthrough

in utopian-io •  7 years ago  (edited)

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.

Requirements

  • Docker is required to start and run the bot. Please make sure you have installed it. This tutorial does not cover that.
  • Telegram Account please make sure you already have one.

Audience

This is intended for anyone interested in running a standalone version of the bot. You do not need to do this to use the bot. Beginners level technical knowledge is all you will need to complete this tutorial.

Here is the Video

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

> [email protected] start /app
> npm run serve


> [email protected] 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


Curriculum

Other steem tutorials in this series:



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Your contribution cannot be approved because it does not follow the Utopian Rules.

Related Rule:

  • Tutorials containing process videos, such as gameplay, content creation and simple on-screen instruction will be rejected.

Suggestions:

  • The setup is mostly based on simple on-screen instructions and those kind of tutorials are not approved in Utopian. Contributions on Utopian are expected to provide technical instructions and installation/setup processes are usually not considered as technical.

You can contact us on Discord.
[utopian-moderator]

Hey @roj, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

Ok, this is what I mentioned before about adjectives. They're subjective. Simple? As I said in the video, this is something that is pretty commonly requested of for me. This bot has existed now for nearly a couple months and I'm still being asked how to set things up.

Further, it goes beyond just simple setup. This is a full tutorial that illustrates how to run the bot, create and configure another bot in telegram, not just set it up.

bro you are smart af, I want to learn coding just to lazy to do so. I wanted to make a upvoting bot a little while back ago but couldn't figure out how if you could post a instructional video like the one you did right now but for a upvote bot id supper appreciate it!

Sure! I can do that. I'll do javascript. I'll even show how to get it up on heroku.

i super appreciate that brother!

https://utopian.io/utopian-io/@r351574nc3/heroku-steem-js-tutorial don't hesitate to ask questions. I'll answer the best I can.

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