sway/send_tick.go
2024-02-14 16:48:50 +01:00

15 lines
226 B
Go

package sway
func (c *Client) SendTick(payload string) error {
result, err := sendMessage[commandResult](c, 10, payload)
if err != nil {
return err
}
if result.HasError() {
return result.GetError()
}
return nil
}