waba_interactions

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QONTAK_WABA_INTERACTION_URI = "/waba_interactions"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DisableWabaInteractionsRequest

type DisableWabaInteractionsRequest struct {
	Url string `json:"url"`
}

type EnableDisableWabaInteractions

type EnableDisableWabaInteractions struct {
	StatusTemplate bool   `json:"status_template"`
	Url            string `json:"url"`
}

func (*EnableDisableWabaInteractions) ToJSON

func (e *EnableDisableWabaInteractions) ToJSON() []byte

type EnableWabaInteractionsRequest

type EnableWabaInteractionsRequest struct {
	Url string `json:"url"`
}

type Service

type Service interface {
	EnableWabaInteractions(request *EnableWabaInteractionsRequest) (err error)
	DisableWabaInteractions(request *DisableWabaInteractionsRequest) (err error)
}

func NewService

func NewService(client pkg.Client, token string, baseUrl string) Service

Jump to

Keyboard shortcuts

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