messages.setChatTheme

Change the chat theme of a certain chat, see here » for more info.

 Method schema is available as of layer 214. Switch »

Parameters

Name Type Description
peer InputPeer Private chat where to change theme
theme InputChatTheme The theme to set.

Result

Updates

Only users can use this method

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

Themes

Telegram apps support generating, sharing and synchronizing app themes.