Documentation ¶
Index ¶
- type Channel
- func (mms *Channel) GetInboundMsgs(ctx context.Context, opts models.InboundMMSOpts) (msgResp models.InboundMMSResponse, respDetails models.ResponseDetails, ...)
- func (mms *Channel) GetOutboundMsgDeliveryReports(ctx context.Context, opts models.OutboundMMSDeliveryReportsOpts) (msgResp models.OutboundMMSDeliveryReportsResponse, ...)
- func (mms *Channel) SendMsg(ctx context.Context, msg models.MMSMsg) (msgResp models.MMSResponse, respDetails models.ResponseDetails, err error)
- type MMS
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) GetInboundMsgs ¶
func (mms *Channel) GetInboundMsgs( ctx context.Context, opts models.InboundMMSOpts, ) (msgResp models.InboundMMSResponse, respDetails models.ResponseDetails, err error)
func (*Channel) GetOutboundMsgDeliveryReports ¶
func (mms *Channel) GetOutboundMsgDeliveryReports( ctx context.Context, opts models.OutboundMMSDeliveryReportsOpts, ) (msgResp models.OutboundMMSDeliveryReportsResponse, respDetails models.ResponseDetails, err error)
type MMS ¶
type MMS interface { SendMsg(context.Context, models.MMSMsg) (models.MMSResponse, models.ResponseDetails, error) GetOutboundMsgDeliveryReports(ctx context.Context, opts models.OutboundMMSDeliveryReportsOpts) ( models.OutboundMMSDeliveryReportsResponse, models.ResponseDetails, error) GetInboundMsgs(ctx context.Context, opts models.InboundMMSOpts) ( models.InboundMMSResponse, models.ResponseDetails, error) }
MMS provides methods to interact with the Infobip MMS API. MMS API docs: https://www.infobip.com/docs/api#channels/mms
Click to show internal directories.
Click to hide internal directories.