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