Issue a formal warning to a user in the context of a chat.
Issues a warning to a user. The warning is a platform-scoped punishment (stored in the DB) even though it is initiated in a chat context. Broadcasts a system message to the chat indicating the warn action. Authorization: Chat owner can always warn in their own chat. For public/official chats, any user who outranks the chat owner (via permission hierarchy) can also warn. Moderators cannot warn in private chats — only the chat owner or Admin+ can.Documentation Index
Fetch the complete documentation index at: https://docs.7331.org/llms.txt
Use this file to discover all available pages before exploring further.
true if the warning was issued.