telegram_bot 0.0.6

  • Installing
  • Versions
  • 48


A dart wrapper for the Telegram Bot API (

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  telegram_bot: "^0.0.6"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

      import 'package:telegram_bot/telegram_bot.dart';
Version Uploaded Documentation Archive
0.0.6 Oct 6, 2017 Go to the documentation of telegram_bot 0.0.6 Download telegram_bot 0.0.6 archive
0.0.5 Feb 6, 2016 Go to the documentation of telegram_bot 0.0.5 Download telegram_bot 0.0.5 archive
0.0.4 Feb 6, 2016 Go to the documentation of telegram_bot 0.0.4 Download telegram_bot 0.0.4 archive
0.0.3 Feb 6, 2016 Go to the documentation of telegram_bot 0.0.3 Download telegram_bot 0.0.3 archive
0.0.2 Feb 6, 2016 Go to the documentation of telegram_bot 0.0.2 Download telegram_bot 0.0.2 archive
0.0.1 Feb 5, 2016 Go to the documentation of telegram_bot 0.0.1 Download telegram_bot 0.0.1 archive
0.0.0 Feb 5, 2016 Go to the documentation of telegram_bot 0.0.0 Download telegram_bot 0.0.0 archive


We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
16 / 100
Code health derived from static analysis. [more]
84 / 100
Reflects how tidy and up-to-date the package is. [more]
75 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: Flutter, other

Primary library: package:telegram_bot/telegram_bot.dart with components: io.


  • Maintain

    Changelog entries help clients to follow the progress in your code.

  • Use constrained dependencies.

    The pubspec.yaml contains 2 dependencies without version constraints. Specify version ranges for the following dependencies: http, json.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 2 errors 2 hints.

    Strong-mode analysis of lib/api/api.dart failed with the following error:

    line: 287 col: 44
    The argument type '(Map<String, Object>) → Update' can't be assigned to the parameter type '(String, Object) → MapEntry<dynamic, dynamic>'.

    Strong-mode analysis of lib/rpc/exception.dart gave the following hint:

    line: 9 col: 12
    Always override hashCode if overriding ==.

    Similar analysis of the following files failed:

    • lib/rpc/rpc.dart (hint)
  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use telegram_bot.dart.


Package Constraint Resolved Available
Direct dependencies
http any 0.11.3+16
json any 0.10.0
Transitive dependencies
async 2.0.7
charcode 1.1.1
collection 1.14.10
http_parser 3.1.2
path 1.6.1
source_span 1.4.0
string_scanner 1.0.2
typed_data 1.1.5
Dev dependencies
unittest any