telnyx_flutter 0.0.5+a copy "telnyx_flutter: ^0.0.5+a" to clipboard
telnyx_flutter: ^0.0.5+a copied to clipboard

Dart Package that helps using the Telnyx API services, Supports Telnyx Programmable SMS

Telnyx Flutter #

A Flutter (dart) package for helping developers using the Telnyx API services

Features #

  • Send SMS programmatically
  • Send WhatsApp messages programmatically

upcoming:

  • Get all SMS related to a Telnyx account
  • Get more info on each SMS sent from a Telnyx account

Getting Started #

To use this package :

  • add the dependency to your pubspec.yaml file.
dependencies:
  flutter:
    sdk: flutter
  telnyx_flutter: ^0.0.5

How to use #

Create a new client object

var telnyxFlutter = TelnyxFlutter(
  telnyxNumber : '[YOUR_TELNYX_NUMBER]',  // e.g: +............... 
  authToken : '[YOUR_TELNYX_API_KEY]',    // e.g: KEY****  
  messagingProfileId : '[YOUR_MESSAGING_PROFILE_ID]', // e.g: aaaaaaaa-bbbb-cccc-dddd-111111111111
  whatappUserId: ['WHATSUP_USER_ID']    // (optional)   
);

Send SMS

telnyxFlutter.sendSMS(
  toNumber : '+................', 
  messageBody : 'your message here',
); 

Send SMS (Using Alphanumeric SenderID)

// for example using TELNYX
telnyxFlutter.sendSMS(
  senderId: 'TELNYX'
  toNumber : '+................', 
  messageBody : 'your message here',
); 

Send Whatsapp SMS (to individual number)

telnyxFlutter.sendWhatsApp(
  toNumber : '+................', 
  messageBody : 'your WA message here',
);

Author #

This Telnyx Flutter Package is developed by Kfir Matityahu.

2
likes
120
pub points
44%
popularity

Publisher

verified publishermatiapps.com

Dart Package that helps using the Telnyx API services, Supports Telnyx Programmable SMS

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http

More

Packages that depend on telnyx_flutter