digitalmars.D.announce - tg.d - Telegram Bot API client implementation for D v0.0.1 is released
- Anton Fediushin (25/25) Aug 17 Greetings, I am glad to announce that tg.d is finally released.
Greetings, I am glad to announce that tg.d is finally released. Telegram Bot API is an extremely flexible and robust platform which can be used to build bots that interact with users utilizing fast instant messaging application on your smartphone and PC. All data is synchronized across all devices, making it easy to switch between them. Tg.d is a fork of project telega. There are some missing features (like webhooks and file uploading) but it is ready to be used in hobby projects. Read "Introduction to bots" which explains what bots are and what they're good at. After you create a new bot with the help of the BotFather you can use token to run examples: ``` git clone https://gitlab.com/ohboi/tg.d.git -b v0.0.1 cd tg.d dub examples/echo.d -- --token=<TOKEN> ``` This will start a bot which will send your messages back. Repository: https://gitlab.com/ohboi/tg.d Package page: http://tg-d.dub.pm/ API reference: https://ohboi.gitlab.io/tg.d/ Introduction to bots: https://core.telegram.org/bots Telegram Bot API documentation: https://core.telegram.org/bots/api Telega: https://github.com/nexor/telega