Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Params ¶
type Params struct { Originator string Reference string Type string Template string DataCoding string ReportURL string Voice string Language string Timeout int TokenLength int }
Params handles optional verification parameters.
type Verify ¶
type Verify struct { ID string HRef string Reference string Status string Messages map[string]string CreatedDatetime *time.Time ValidUntilDatetime *time.Time Recipient int }
Verify object represents MessageBird server response.
func Read ¶
func Read(c *messagebird.Client, id string) (*Verify, error)
Read retrieves an existing Verify object by its ID.
func VerifyToken ¶
func VerifyToken(c *messagebird.Client, id, token string) (*Verify, error)
VerifyToken performs token value check against MessageBird API.
Click to show internal directories.
Click to hide internal directories.