Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/techprober/pro-bot
A telegram bot to play around with the community telegram channels
https://github.com/techprober/pro-bot
api containerization serverless telegram-bot
Last synced: about 2 months ago
JSON representation
A telegram bot to play around with the community telegram channels
- Host: GitHub
- URL: https://github.com/techprober/pro-bot
- Owner: techprober
- License: mit
- Created: 2022-01-23T15:29:19.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-29T05:29:39.000Z (almost 3 years ago)
- Last Synced: 2023-03-05T23:19:30.597Z (almost 2 years ago)
- Topics: api, containerization, serverless, telegram-bot
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pro-bot
🤖 Pro Bot
A Telegram Bot to Play Around With The Community Telegram Channels## Introduction
CopyRight 2022 TechProber. All rights reserved.
Maintainer: [ Kevin Yu (@yqlbu) ](https://github.com/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](https://github.com/pre-commit/pre-commit-hooks) to set up hooks. To use it, run the following commands:
```bash
# Install with pip
pip install pre-commit
# Install with Homebrew
brew install pre-commit
# Install pre-commit under root directory
pre-commit install
```## Community
- [Hikariai_AI Telegram Group](https://t.me/hikariai_channel)
- [unRAID Telegram Group](https://t.me/unraid_zh)
- [TechProber Telegram Group](https://t.me/joinchat/7AG3aEQ5I00wY2Q5)
- [TechProber Discord Channel](https://discord.gg/se4RtrB473)## Contributors
Special thanks go to all [ contributors ](https://github.com/TechProber/pro-bot/graphs/contributors). If you would like to contribute, please see the [instructions](https://github.com/TechProber/pro-bot/blob/master/docs/contribute.md).
[Pro Bot](https://github.com/TechProber/pro-bot) is inspired and introduced in 2022. Currently, it is maintained by [ Kevin Yu (@yqlbu) ](https://github.com/yqlbu)
## Reference
- [Telegram Bot API](https://core.telegram.org/bots/api)
- [Sending a message to a Telegram channel the easy way](https://medium.com/javarevisited/sending-a-message-to-a-telegram-channel-the-easy-way-eb0a0b32968)
- [Can a Telegram bot read messages of channel](https://stackoverflow.com/questions/42672034/can-a-telegram-bot-read-messages-of-channel)
- [https://stackoverflow.com/questions/52765833/why-i-cant-send-sticker-by-its-id](https://stackoverflow.com/questions/52765833/why-i-cant-send-sticker-by-its-id)
- [Telegram, getting file_id for existing sticker](https://stackoverflow.com/questions/34355648/telegram-getting-file-id-for-existing-sticker)
- [How to set up push notifications in your Telegram bot](https://www.freecodecamp.org/news/telegram-push-notifications-58477e71b2c2/)## Development Notes
Sample API Call
### Send Text
POST `https://api.telegram.org/bot/sendMessage?chat_id=&text=`
```bash
curl -X POST https://api.telegram.org/bot/sendMessage?chat_id=&text=
```
### Send StickerPOST `https://api.telegram.org/bot/sendSticker?chat_id=&sticker=`
```bash
curl -X POST https://api.telegram.org/bot/sendSticker?chat_id=&sticker=
```### Get Update
GET `https://api.telegram.org/bot{bot_token}/getUpdates`
```bash
curl -X GET https://api.telegram.org/bot{bot_token}/getUpdates
```## License
[MIT (C) TechProber](https://github.com/TechProber/pro-bot/blob/master/LICENSE)