Skip to content

A telegram bot to play around with the community telegram channels

License

Notifications You must be signed in to change notification settings

techprober/pro-bot

Repository files navigation

pro-bot

🤖 Pro Bot

A Telegram Bot to Play Around With The Community Telegram Channels

License lines Version Kubernetes lastcommit

Introduction

CopyRight 2022 TechProber. All rights reserved.

Maintainer: Kevin Yu (@yqlbu)

This repo serves to provide the end-users with a way to interact with community telegram channels. Feel free to contribute.

Pre-commit Hooks

This repo uses the pre-commit framework to set up hooks. To use it, run the following commands:

# Install with pip
pip install pre-commit
# Install with Homebrew
brew install pre-commit
# Install pre-commit under root directory
pre-commit install

Community

Contributors

Special thanks go to all contributors . If you would like to contribute, please see the instructions.

Pro Bot is inspired and introduced in 2022. Currently, it is maintained by Kevin Yu (@yqlbu)

Reference

Development Notes

Sample API Call

Send Text

POST https://api.telegram.org/bot<token>/sendMessage?chat_id=<id>&text=<text_string>

curl -X POST https://api.telegram.org/bot<token>/sendMessage?chat_id=<id>&text=<text_string>

Send Sticker

POST https://api.telegram.org/bot<token>/sendSticker?chat_id=<id>&sticker=<sticker_id>

curl -X POST https://api.telegram.org/bot<token>/sendSticker?chat_id=<id>&sticker=<sticker_id>

Get Update

GET https://api.telegram.org/bot{bot_token}/getUpdates

curl -X GET https://api.telegram.org/bot{bot_token}/getUpdates

License

MIT (C) TechProber

About

A telegram bot to play around with the community telegram channels

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published