--- title: "messageActionSetChatTheme" description: "The chat theme was changed" nav_exclude: true image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: messageActionSetChatTheme [Back to constructors index](/API_docs/constructors/index.html) The chat theme was changed ### Attributes: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |emoticon|[string](/API_docs/types/string.html) | Yes|The emoji that identifies a chat theme| ### Type: [MessageAction](/API_docs/types/MessageAction.html) ### Example: ``` $messageActionSetChatTheme = ['_' => 'messageActionSetChatTheme', 'emoticon' => 'string']; ```