MadelineProtoDocs/old_docs/API_docs_v75/constructors/messageActionCustomAction.md

826 B

title description image
messageActionCustomAction messageActionCustomAction attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageActionCustomAction

Back to constructors index

Attributes:

Name Type Required
message string Yes

Type: MessageAction

Example:

$messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => 'string'];

PWRTelegram json-encoded version:

{"_": "messageActionCustomAction", "message": "string"}

Or, if you're into Lua:

messageActionCustomAction={_='messageActionCustomAction', message='string'}