delegram 0.1.3

dlang Telegram bot api


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

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);
  }
}
Authors:
thesuess
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
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 127 downloads total