--- title: "messageActionCustomAction" description: "Custom action (most likely not supported by the current layer, an upgrade might be needed)" nav_exclude: true image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: messageActionCustomAction [Back to constructors index](/API_docs/constructors/index.html) Custom action (most likely not supported by the current layer, an upgrade might be needed) ### Attributes: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |message|[string](/API_docs/types/string.html) | Yes|Action message| ### Type: [MessageAction](/API_docs/types/MessageAction.html) ### Example: ``` $messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => 'string']; ```