Modules
moistartoptions
2min
ƭ moistartoptions object type declaration name type description mode? moichatmodes docid\ emblfzl6res1tkpribcb6 the mode to use if undefined will use the default moi mode onaction? ( action moiactionsmessage docid\ wrjo6fguug px6 6w4o1z \[ "actions" ]\[ "actions" ]\[ number ]) => boolean | void action listener for actions onmessage? () => void called when a message is received from moi onredirect? ( url string ) => void custom redirect handler pqawidgetid? string pqa widgetid for the pqa application productid? string productid for the pqa application settings? { alwaysstartconversation? boolean ; configoverride? klevuconfig classes/klevuconfig md } settings alwaysstartconversation? boolean always sends the initial message to moi even if there are no messages stored for that case settings configoverride? klevuconfig classes/klevuconfig md override the config url? string url for the pqa application defined in connection/moi/moi ts 183 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/connection/moi/moi ts#l183