Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# 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) ](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 Sticker

POST `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)