GithubHelp home page GithubHelp logo

rev-telegram-bot-app's Introduction

Telegram Bot App

This is the template for a Telegram bot. You can send messages using the app to your desired chats in which the bot has the rights to send messages.

Dependencies

The app was created using Electron Forge. So to install all dependencies I recommend following their super simple documentation here and then copy-pasting the index.html and bot.js files. After that you are set!

Running the app

Before running the app you need to create a bot in Telegram and get access to its API. You can do this by using BotFather. After getting your bot (and its URL for accessing the API) go to the bot.js file and change the url variable here to the URL that you acquired.

One other thing is that to send messages you will need chat IDs. To get these simply send a message to the bot. You will see the chat ID in the console log (I was too lazy to automate this). After getting the chat IDs you may want to append the dropdown list in index.html. I left comments here so you hopefully you won't have any trouble.

Make sure you have the dependencies and after running npm start command in your terminal you should see the app start up.

rev-telegram-bot-app's People

Contributors

revtheundead avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.