Skip to main content

showMessage

danger

This function is deprecated. Use sendMessage instead.

/**
* @deprecated use sendMessage instead
* Sends a message regardless of whether the chat is expanded or collapsed
* @param message- message to be sent
* @param autoSend(optional) - whether the message should be sent automatically or not
*/
export const showMessage = async (message: string, autoSend?: boolean): Promise<void>;