14 lines
173 B
Go
14 lines
173 B
Go
package api
|
|
|
|
func (c *Client) Notify(title, body string) error {
|
|
return c.client.Call(
|
|
"ITD",
|
|
"Notify",
|
|
NotifyData{
|
|
Title: title,
|
|
Body: body,
|
|
},
|
|
nil,
|
|
)
|
|
}
|