internal

package
v0.0.0-...-94dcbd2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseClient

type BaseClient struct {
	ApiKey              string
	ParseViberErrorFunc func([]byte) error
}

BaseClient is a base client for Viber and Viber plus SMS clients.

func (*BaseClient) GetMessageStatusResponse

func (cl *BaseClient) GetMessageStatusResponse(messageId int64, result interface{}) error

GetMessageStatus

func (*BaseClient) SendMessage

func (cl *BaseClient) SendMessage(message interface{}) (int64, error)

SendMessage sends Viber message.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL