forked from Elara6331/itd
17 lines
212 B
Go
17 lines
212 B
Go
package api
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
func (c *Client) Notify(title, body string) error {
|
|
return c.itdClient.Call(
|
|
context.Background(),
|
|
"Notify",
|
|
NotifyData{
|
|
Title: title,
|
|
Body: body,
|
|
},
|
|
nil,
|
|
)
|
|
} |