messages.setChatTheme

Change the chat theme of a certain chat

 Method schema is available as of layer 132. Switch »

Parameters

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

Result

Updates

Possible errors

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.

Related pages

account.getChatThemes

Get all available chat themes ».