whatsapp_client 1.0.2 copy "whatsapp_client: ^1.0.2" to clipboard
whatsapp_client: ^1.0.2 copied to clipboard

discontinued
outdated

A Whatsapp Client Library for interact with whatsapp api unnofficial.

example/example.dart

import 'package:general_lib/extension/dynamic.dart';
import 'package:whatsapp_client/whatsapp_client.dart';

void main(List<String> args) async {
  print("SASLO");
  WhatsAppBotApiServer whatsAppBotApiServer = WhatsAppBotApiServer();
  await whatsAppBotApiServer.runWaBotApi(
    host: "0.0.0.0",
    is_print: true,
    wa_bot_api_port: 9990,
  );
  WhatsAppBotApi wa = WhatsAppBotApi(tokenBot: "");
  await Future.delayed(Duration(seconds: 2));
  var res = await wa.request(
    method: "createClient",
    parameters: {
      "id": "Sas",
      "url": "http://0.0.0.0:8080",
    },
    isInvokeThrowOnError: false,
  );
  res.printPretty(2);
}
0
likes
0
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

A Whatsapp Client Library for interact with whatsapp api unnofficial.

Repository (GitHub)
View/report issues

Documentation

Documentation

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

general_lib, http, packagex, path

More

Packages that depend on whatsapp_client