--- title: setChatClientData description: Changes client data associated with a chat --- ## Method: setChatClientData [Back to methods index](index.md) YOU CANNOT USE THIS METHOD IN MADELINEPROTO Changes client data associated with a chat ### Params: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |chat\_id|[InputPeer](../types/InputPeer.md) | Yes|Chat identifier| |client\_data|[string](../types/string.md) | Yes|New value of client_data| ### Return type: [Ok](../types/Ok.md)