Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContactsObject ¶
type ContactsObject struct {
Contacts []Contact `json:"contacts"`
}
type ContextObject ¶
type ContextObject struct {
MessageID string `json:"message_id"`
}
type InteractiveObject ¶
type InteractiveObject struct {
Header interface{} `json:"header,omitempty"`
Body interface{} `json:"body,omitempty"`
Action interface{} `json:"action,omitempty"`
}
type LocationObject ¶
type MediaObject ¶
type Message ¶
type Message struct {
Audio *MediaObject `json:"audio,omitempty"`
Contacts *ContactsObject `json:"contacts,omitempty"`
Context *ContextObject `json:"context,omitempty"`
Document *MediaObject `json:"document,omitempty"`
HSM interface{} `json:"hsm,omitempty"`
Image *MediaObject `json:"image,omitempty"`
Interactive *InteractiveObject `json:"interactive,omitempty"`
Location *LocationObject `json:"location,omitempty"`
MessagingProduct string `json:"messaging_product,omitempty"`
PreviewURL bool `json:"preview_url,omitempty"`
RecipientType string `json:"recipient_type,omitempty"`
Status string `json:"status,omitempty"`
Sticker *MediaObject `json:"sticker,omitempty"`
Template *TemplateObject `json:"template,omitempty"`
Text *TextObject `json:"text,omitempty"`
To string `json:"to"`
Type string `json:"type,omitempty"`
}
type TemplateObject ¶
type TextObject ¶
Click to show internal directories.
Click to hide internal directories.