Change the chat theme of a certain chat
Method schema is available as of layer 132. Switch »
Name | Type | Description |
---|---|---|
peer | InputPeer | Private chat where to change theme |
emoticon | string | Emoji, identifying a specific chat theme; a list of chat themes can be fetched using account.getChatThemes |
Code | Type | Description |
---|---|---|
400 | EMOJI_INVALID | The specified theme emoji is valid. |
400 | EMOJI_NOT_MODIFIED | The theme wasn't changed. |
400 | PEER_ID_INVALID | The provided peer id is invalid. |
Get all available chat themes ».