I am using Lightning message service to pass message from VF page to LWC. VF page is in iframe and I am using this method to publish message
sforce.one.publish(CHANNEL, message);
However I am getting sforce.one is undefined error. Can someone please help with this?