Telegram Bot Setup Video Walkthrough

in #utopian-io6 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

Sort:  

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

What are these bots used for? why would one use a reply bot? And why would one want to hook a bot up to Steemit?

Well, this specific reply bot listens for users that send replies to your posts and will reply to you in telegram. Why would you want this? Well, it's for correspondence. If you want to engage your readers/viewers through replies with telegram on a post, you can do that with this bot. It basically proxies all replies to your telegram conversation. Any responses in your telegram conversation are automatically sent to steemit.

You could just use esteem or busy for pretty much the exact same thing, but telegram gives you the ability to correspond like you would with a text messaging app with emojis and even the use of telegram apps.

Now bots in general on steemit are for different reasons:

  1. Convenience bots can be used to automate normal tasks that you would rather not do like claiming rewards or upvoting your favorite blogger.
  2. Augmentation bots can be used to add features to steemit that aren't there for you now. You can do this by augmenting the existing api or just creating automation.
  3. Data mining bots can be used to gather data from the blockchain that you don't normally see through a blogging app like steemit. Some of these things are like how much money you are making, what your reader conversions are like, etc... This is probably the largest use case of bots because there are so many that literally scour the blockchain for things like spammers, plagiarizers, suckers, etc...

Thanks for explaining. I'm use Steemit to post my Diatribes- not looking to use Bots with Steemit & have it take up more of my life.

I have been interested though- in finding out how to set up a Bot- or some type of Data-Crawler- a Spider- to scour the internet for some subject I've been researching...

You may also like running a digest bot. Something that creates a newsletter type thing based on some data you collect and pushes out in a known format each week. A friend of mine was thinking of writing an arbitrage report bot that would post arbitrage reports for people that follow that sort of thing.

thanks for the info- i intent to look into this digest bot

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.029
BTC 61358.50
ETH 3378.70
USDT 1.00
SBD 2.52