Set Topic
AI-generatedSummary
Set the topic of a specified UnrealIRCd channel, optionally including metadata about who set it and when.
Inputs
- Channel (required) — The name of the channel to update, e.g., '#channel'.
- Topic (required) — The new topic text to set for the channel.
- Set By — Optional identifier of who set the topic, for display purposes.
- Set At — Optional ISO timestamp indicating when the topic was set.
- Redaction Options — Options to redact sensitive data from responses, including redacting IP addresses, email addresses, and custom regex patterns.
Output shape
a single JSON object containing the operation performed, success status, and the RPC result reflecting the channel topic update
The response will indicate success:true on a successful topic set and include any data returned by the UnrealIRCd JSON-RPC call; sensitive data in the response can be redacted based on user options.
Examples
Example 1: Set topic '#channel' to 'Welcome to our channel!' with who and when set
Channel: '#channel'; Topic: 'Welcome to our channel!'; Set By: 'admin'; Set At: '2023-01-07T09:19:59.000Z'