--- 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 ### Parameters: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |chat\_id|[int53](../types/int53.md) | Yes|Chat identifier| |client\_data|[string](../types/string.md) | Yes|New value of client_data| ### Return type: [Ok](../types/Ok.md)