Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) SendMessage ¶
type SendMessageErrorResponse ¶
type SendMessageErrorResponse struct { SendMessageResponse Token string `json:"token"` Errors []string `json:"errors"` }
SendMessageErrorResponse is the type of SendMessage error response messages Example: {"token":"invalid","errors":["application token is invalid"],"status":0,"request":"7d9fe901-5339-4be6-8d23-0e99650ca1e2"}
type SendMessageRequest ¶
type SendMessageRequest struct { Token string `json:"token"` User string `json:"user"` Device string `json:"device"` Title string `json:"title"` Message string `json:"message"` HTML string `json:"html"` }
SendMessageRequest is the type of SendMessage request messages
type SendMessageResponse ¶
SendMessageResponse is the type of SendMessage response messages Example: {"status":1,"request":"e4a934f5-212f-4010-b321-d9c48a244a64"}
Click to show internal directories.
Click to hide internal directories.