rcs

package
v3.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	ReqHandler internal.HTTPHandler
}

func (*Channel) Send

func (rcs *Channel) Send(
	ctx context.Context,
	msg models.RCSMsg,
) (resp models.SendRCSResponse, respDetails models.ResponseDetails, err error)

func (*Channel) SendBulk

func (rcs *Channel) SendBulk(
	ctx context.Context,
	req models.SendRCSBulkRequest,
) (resp models.SendRCSBulkResponse, respDetails models.ResponseDetails, err error)

type RCS

type RCS interface {
	// Send sends a single RCS message.
	Send(
		ctx context.Context,
		msg models.RCSMsg,
	) (resp models.SendRCSResponse, respDetails models.ResponseDetails, err error)

	// SendBulk sends bulk RCS messages.
	SendBulk(
		ctx context.Context,
		req models.SendRCSBulkRequest,
	) (resp models.SendRCSBulkResponse, respDetails models.ResponseDetails, err error)
}

Jump to

Keyboard shortcuts

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