Use app-server thread name method
This commit is contained in:
@@ -229,7 +229,7 @@ func (c *Client) SetThreadName(ctx context.Context, threadID, name string) error
|
||||
return err
|
||||
}
|
||||
var ignored json.RawMessage
|
||||
return c.call(ctx, "thread/setName", map[string]any{
|
||||
return c.call(ctx, "thread/name/set", map[string]any{
|
||||
"threadId": threadID,
|
||||
"name": name,
|
||||
}, &ignored)
|
||||
|
||||
Reference in New Issue
Block a user