Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 531 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 531 Bytes

sg-telegram

A thin telegram wrapper built on top of Sugaroid Websocket implementation.

Screenshot

Build

go build .

Run

export TELEGRAM_BOT_TOKEN="supersecrettoken" 
export SG_TG_COMMAND_PREFIX="@mysugaroidbot "
export SG_TG_CHANNEL_ID_WHITELIST="-13131331313,-43131313"
export SG_TG_WS_ENDPOINT="localhost:3000"
./sg-telegram

License

This project is licensed under the MIT License