publ betaReference (MCP guide)
Open publ console

publ Reference

messenger_media_encode_apply

Start the video encode job in the Messenger app (pApp D00003). Requires change {action:"encode"}. Write: starts one job and sends no message; observe progress with task_resume. 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.uploadTaskId Yes string; pattern ^[A-Za-z0-9_-]{8,80}$
change Yes object
change.action Yes encode
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.