Skip to content

mastodon_api_conversation_mark_read

github-actions[bot] edited this page Apr 9, 2026 · 12 revisions

Mark a conversation as read.

Auto-generated Example

add_action(
    'mastodon_api_conversation_mark_read',
    function (
        int $id,
        WP_REST_Request $request
    ) {
        // Your code here
    },
    10,
    2
);

Parameters

  • int $id The conversation ID.
  • WP_REST_Request $request The request object.

Files

do_action( 'mastodon_api_conversation_mark_read', $id, $request )

Hooks

Clone this wiki locally