params): Promise<void>Publish a message into the specified channel.
Configuration object for publishing a message
Channel in which to send the message.
The message to send. This can be any JSON-serializable object or value.
Metadata associated with the message. There are no requirements on the content of metadata.
Promise<void>
Publishing a message as a string:
Publishing a message as an object: