pro-bot

command module
v0.0.0-...-611d91b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2022 License: MIT Imports: 6 Imported by: 0

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)

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL