delegram 0.1.3
dlang Telegram bot api
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
delegram
dlang Telegram API Wrapper
Usage
import delegram;
import std.stdio;
void main()
{
Bot b = new Bot("BOT TOKEN");
auto updates = b.getUpdates();
foreach (update;updates)
{
b.sendMessage(update.message.chat.id,"Hello there, you sent me: " ~ update.message.text);
}
}
- Registered by Dominik Süß
- 0.1.3 released 9 years ago
- theSuess/delegram
- MIT
- Copyright © 2015, thesuess
- Authors:
- Dependencies:
- jsonizer
- Versions:
-
0.1.3 2015-Oct-30 0.1.2 2015-Oct-15 0.1.1 2015-Oct-15 0.1.0 2015-Oct-15 ~master 2015-Oct-30 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
155 downloads total
-
- Score:
- 0.6
- Short URL:
- delegram.dub.pm