Skip to main content

Messages

Send, edit, delete, and forward messages within conversations

๐Ÿ“„๏ธ Send message

Sends a message to a conversation thread. The current user must have reply access. Supports file attachments, message metadata, and offline message sync via temporary IDs. If moderation is enabled, the message enters a pending queue instead of being delivered immediately. The temp_id and temp_time parameters enable offline-first messaging โ€” the server validates that temp_time is within ยฑ600 seconds of server time. After sending, the thread is automatically marked as read for the sender.

๐Ÿ“„๏ธ Forward message

Forwards a message to one or more destination threads. The forwarding feature must be enabled in plugin settings (`enableForwardMessages`). Attachments and voice messages are copied to each destination. Forward attribution tracks the original sender when enabled. The user must have reply access in each destination thread. Limited to a maximum of 20 destination threads per forward operation. Deleted messages and messages the user doesn't have access to cannot be forwarded.