paperplane 0.3.0 copy "paperplane: ^0.3.0" to clipboard
paperplane: ^0.3.0 copied to clipboard

outdated

A Flying Telegram Bot API Wrapper created from Scratch and Paper.

PaperPlane

Just a Telegram Library for Dart. A package to interact with the official

Telegram Bot API.

Dart Version Build Status Bot API Nebulino

Disclaimer #

I'm doing it just for fun, so... use at your own risk.

I hope it will become something great.

^-^

Usage #

First build the .g files for Serializable (if you clone the repo):

pub run build_runner build

A simple usage example:

import 'package:paperplane/paperplane.dart';

void main() async {
  var token = 'Just A Token';
  
  var bot = PaperPlane.createBot(token);
  bot.init();
}

Get PaperPlane #

Add PaperPlane dependency on pubspec.yaml:

From GitHub:

dependencies:
  paperplane:
    git: https://github.com/Nebulino/PaperPlane.git

From pub.dev:

dependencies:
  paperplane: ^0.3.0

Features and bugs #

For now, some methods are working.

Still not implemented the LongPolling and Webhook. You can use it for now by doing a while(true).

I have created all Telegram API Classes for each Telegram Types.

Please file feature requests and bugs at the issue tracker.

Copyright © 2020 Nebulino

6
likes
0
pub points
0%
popularity

Publisher

verified publishernebulino.cloud

A Flying Telegram Bot API Wrapper created from Scratch and Paper.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http, json_annotation

More

Packages that depend on paperplane