telegram_bot_api 0.0.0
telegram_bot_api: ^0.0.0 copied to clipboard

Latest Telegram Bot APi Auto updates versions.

Telegram Bot Api Dart #

Telegram Bot api dart library auto update from official Telegram-Bot-Api, Support All Method Api.

Install #

dart pub add telegram_bot_api

Quickstart #

import 'package:tele_bot_api/tele_bot_api.dart';
import 'package:jsonjs/main.dart';
Future<void> main(List<String> args) async {
  var tg = Telegram("paste_your_token_bot");
  var option = {
    "chat_id": 1234567, // paste_ your id telegram interger
    "text": "hay",
    "reply_markup": {
      "inline_keyboard": [
        [
          {"text": "gogole", "url": "google.com"}
        ]
      ]
    }
  };
  var data = await tg.request("sendMessage", option);
  print(jsonStringify(data, null, 2));
}
0
likes
80
pub points
6%
popularity

Latest Telegram Bot APi Auto updates versions.

Repository (missing)
View/report issues

Documentation

API reference

License

MIT (LICENSE.txt)

Dependencies

dio, jsonjs

More

Packages that depend on telegram_bot_api