Publisher.publish Publisher.publish(message)[source] Publish a message to the topic. Parameters: messageMessage or dictThe message to publish.