--- title: messageActionBotAllowed description: messageActionBotAllowed attributes, type and example image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: messageActionBotAllowed [Back to constructors index](index.md) ### Attributes: | Name | Type | Required | |----------|---------------|----------| |domain|[string](../types/string.md) | Yes| ### Type: [MessageAction](../types/MessageAction.md) ### Example: ``` $messageActionBotAllowed = ['_' => 'messageActionBotAllowed', 'domain' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` {"_": "messageActionBotAllowed", "domain": "string"} ``` Or, if you're into Lua: ``` messageActionBotAllowed={_='messageActionBotAllowed', domain='string'} ```