Documentation ¶
Index ¶
- type AirtimeClient
- type OTPClient
- type SMSClient
- func (s *SMSClient) GetBallance() (*http.Response, error)
- func (s *SMSClient) GetSenderNames() (*http.Response, error)
- func (s *SMSClient) RequestSenderID(id, idContent string) (*http.Response, error)
- func (s *SMSClient) SendSMS(message string, recipients []string, schedule_time string) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AirtimeClient ¶
type AirtimeClient struct {
// contains filtered or unexported fields
}
func NewAirtime ¶
func NewAirtime() *AirtimeClient
func (*AirtimeClient) GetBallance ¶
func (a *AirtimeClient) GetBallance() (*http.Response, error)
GetBallance retrieves the ballance in your beemafrica account.
type OTPClient ¶
type OTPClient struct {
// contains filtered or unexported fields
}
type SMSClient ¶
type SMSClient struct {
// contains filtered or unexported fields
}
func (*SMSClient) GetBallance ¶
GetBallance request for the sms ballance for a particular account If the error is nil, the response of type *http.Response will be returned
func (*SMSClient) GetSenderNames ¶
GetSenderNames retrieves sendernames available in your account.
func (*SMSClient) RequestSenderID ¶
RequestSenderID queues a request to beem for a specific senderid. Response will be obtained, later through mail.
func (*SMSClient) SendSMS ¶
func (s *SMSClient) SendSMS(message string, recipients []string, schedule_time string) (*http.Response, error)
SendSMS sends request to beemafrica to send a message, with given details. the message, a slice of recipients, and a scheduled time value. time format is GMT+0 timezone,(yyyy-mm-dd hh:mm). send now scheduled_time is ""
Click to show internal directories.
Click to hide internal directories.