mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 03:56:57 +01:00
24 lines
551 B
Markdown
24 lines
551 B
Markdown
|
---
|
||
|
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)
|
||
|
|