Skip to content

This bot is used to send messages to users or channels from webhooks.

License

Notifications You must be signed in to change notification settings

testit-tms/webhook-bot

Repository files navigation

Telegram bot for sending messages to users

Description

This bot is used to send messages to users or channels from webhooks.

Usage

Our installation

How to use our installation of the bot you can read here

Your own installation

You can run the bot locally or deploy it to your server.

Just follow the instructions below.

  1. Create a bot in Telegram and get a token. You can read more about it here.
  2. Clone this repository.
  3. Add your bot token, image name and tag to the .env file.
  4. Build the image
docker build -f deploy/Dockerfile -t webhook-bot:latest .
  1. Run the containers
docker-compose -f deploy/docker-compose.yml -p webhook-bot up -d

Contributing

Contributions are welcome! If you find a bug or have a feature request, please open an issue on the issue tracker.

If you want to contribute code, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your changes and write tests if necessary.
  4. Run the tests and make sure they pass.
  5. Commit your changes and push them to your fork.
  6. Open a pull request to the main branch of the original repository.

We will review your changes and merge them if they meet our quality standards. Thank you for contributing!

License

Distributed under the Apache-2.0 License. See LICENSE for more information.