www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - There is Dlang Telegram Bot based on the official Telegram Bot API?

reply Baby Beaker <thegrapevine email.com> writes:
I create Bots for Telegram using Python or PHP. But I love Dlang 
and would like to create my Bots in Dlang. Is there any support 
for Dlang to create Telegram Bots?
Apr 03 2020
next sibling parent Dan Cirnat <dan alt.md> writes:
On Friday, 3 April 2020 at 16:10:55 UTC, Baby Beaker wrote:
 I create Bots for Telegram using Python or PHP. But I love 
 Dlang and would like to create my Bots in Dlang. Is there any 
 support for Dlang to create Telegram Bots?
Hi, A quick search yielded this dub package: https://code.dlang.org/packages/tg-d AFAIR the Telegram BOT API is HTTP and very simple. Should be straight forward to write your own client. I found out some code I've written while playing with it a while ago: https://gist.github.com/cirnatdan/7d8cb26759f349579995c2703bbc1996 Have fun!
Apr 05 2020
prev sibling parent Denis Feklushkin <feklushkin.denis gmail.com> writes:
On Friday, 3 April 2020 at 16:10:55 UTC, Baby Beaker wrote:
 I create Bots for Telegram using Python or PHP. But I love 
 Dlang and would like to create my Bots in Dlang. Is there any 
 support for Dlang to create Telegram Bots?
My bots use https://code.dlang.org/packages/telega without any problem
Apr 05 2020