publ betaReference (MCP guide)
Open publ console

publ Reference

messenger_delivery_apply

Send one text message from you to a direct or basic group room of the Messenger app (pApp D00003), as the room message input does. Requires change {text, confirmation SEND_CHAT_MESSAGE}; the text stays within the room's limit. The preview leads with the recipient count; a changed count refuses the send. A sent message cannot be recalled (hiding is done on the console). When sending cannot run here, the answer is MESSAGING_DELIVERY_CONSOLE with the room on the console (consoleUrl), and nothing is sent. The preview never sends. A lost receipt stays pending and is never resent; task_resume only observes, and prepared work needs the identical apply. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

Inputs

Field Required here Contract
target Yes object
target.roomUuid Yes string; pattern ^[A-Za-z0-9_-]{1,200}$
target.roomType Yes DIRECT, GROUP
change Yes object
change.text Yes string; min length 1; max length 1000
change.confirmation Yes SEND_CHAT_MESSAGE
confirmToken No string; pattern ^ct[a-f\d]{32}$; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute.