publ betaReference (MCP guide)
Open publ console

publ Reference

messenger_participant_apply

Kick out a participant, or temporarily block them for 1 to 60 minutes, in a basic group room of the Messenger app (pApp D00003). Requires roomUuid, participantDistinctId, change kick (confirmation KICK_GROUP_PARTICIPANT) or mute with minutes (confirmation MUTE_GROUP_PARTICIPANT) [str_6757, str_2727, str_err_2946]. Operators cannot be kicked [str_6758]. A kick is read back; a block is confirmed by the accepted request only. 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.participantDistinctId Yes string; pattern ^[A-Za-z0-9_-]{1,200}$
change Yes one of: kick, mute (by action)
change.confirmation Yes When change.action is kick: KICK_GROUP_PARTICIPANT
change.minutes Yes When change.action is mute: integer; minimum 1; maximum 60
change.confirmation Yes When change.action is mute: MUTE_GROUP_PARTICIPANT
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.