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

outdated

A Dart package for Telnyx API.

Telnyx Flutter #

A Flutter 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.4

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   
    );

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 (Using Alphanumeric SenderID)

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

Author #

This Telnyx Flutter Package is developed by Kfir Matityahu.