telnyx_flutter 0.0.3 copy "telnyx_flutter: ^0.0.3" to clipboard
telnyx_flutter: ^0.0.3 copied to clipboard

outdated

A Dart package for Telnyx API.

example/telnyx_flutter_example.dart

import 'package:telnyx_flutter/telnyx_flutter.dart';

void main() {

  final toNumber = '+972000000000';
  final messageBody = 'Hello from Telnyx';

  var telnyxFlutter = TelnyxFlutter(
      telnyxNumber: '+___________',
      authToken: 'KEY*_*',
      messagingProfileId: '*-*-*-*-*'
  );

  telnyxFlutter.sendSMS(
      toNumber: toNumber, messageBody: messageBody).then((value) {
    print(value);
  });

  telnyxFlutter.sendSMSWithSenderID(
      senderId: 'SENDER_ID', toNumber: toNumber, messageBody: messageBody).then((value) {
    print(value);
  });



}
2
likes
0
points
1
downloads

Publisher

verified publishermatiapps.com

Weekly Downloads

A Dart package for Telnyx API.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http

More

Packages that depend on telnyx_flutter