send_message()
Send a message to the connected server.
Usage
send_message(
msg,
priority=0,
)Parameters
msg: str-
The message content to send.
priority: int = 0-
Message priority level (0=normal, 1=high).
Returns
str-
A confirmation string with the message ID.
Examples
>>> send_message("hello")
'msg-001'