Struct africastalking_gateway::AfricasTalkingGateway [] [src]

pub struct AfricasTalkingGateway { /* fields omitted */ }

Gateway struct

Methods

impl AfricasTalkingGateway
[src]

[src]

creates a gateway instance

[src]

Gets user data

[src]

Sends an SMS message read more..

[src]

Fetches messages from Africa's Talking API read more..

The gateway will return 100 messages at a time, starting with the last received id (id of the message that you last processed). Specify 0 if this is the first call to the gateway.

[src]

Creates a subscription read more..

[src]

Deletes a subscription

[src]

Fetches subscriptions read more..

[src]

Makes voice call. docs reference

[src]

Gets queued calls. docs reference

[src]

Uploads Media File. docs reference

[src]

Sends airtime. docs reference

recipients is a json array of the format

[
  {
    "phoneNumber":"+254711XXXYYY",
    "amount":"KES X"
  },
  {
    "phoneNumber":"+254733YYYZZZ",
    "amount":"KES Y"
  }
]

[src]

Initiates a checkout request on a subscriber's phone number. read more ..

[src]

Requests a Business-to-Business payment to a business via their provider channel. read more..

[src]

Requests a Business-to-Consumer payment to mobile subscribers phone numbers. read more..

Trait Implementations

impl Debug for AfricasTalkingGateway
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations