PubSub
PUBLISH
Publish a message to a channel
Arguments
channelbodystrrequired
The channel to publish to.
messagebodystr
The message to publish.
Response
intrequired
The number of clients who received the message.
Example
listeners = redis.publish("my-topic", "my-message")