delegram ~master

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);
  }
}
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

  • 155 downloads total

Score:
0.6
Short URL:
delegram.dub.pm