UNPKG

@botonic/react

Version:

Build Chatbots using React

26 lines (25 loc) 959 B
export enum WebchatAction { ADD_MESSAGE = 'addMessage', ADD_MESSAGE_COMPONENT = 'addMessageComponent', UPDATE_MESSAGE = 'updateMessage', UPDATE_REPLIES = 'updateReplies', UPDATE_LATEST_INPUT = 'updateLatestInput', UPDATE_TYPING = 'updateTyping', UPDATE_WEBVIEW = 'updateWebview', UPDATE_SESSION = 'updateSession', UPDATE_LAST_ROUTE_PATH = 'updateLastRoutePath', UPDATE_HANDOFF = 'updateHandoff', UPDATE_THEME = 'updateTheme', UPDATE_DEV_SETTINGS = 'updateDevSettings', TOGGLE_WEBCHAT = 'toggleWebchat', TOGGLE_EMOJI_PICKER = 'toggleEmojiPicker', TOGGLE_PERSISTENT_MENU = 'togglePersistentMenu', TOGGLE_COVER_COMPONENT = 'toggleCoverComponent', DO_RENDER_CUSTOM_COMPONENT = 'doRenderCustomComponent', SET_ERROR = 'setError', CLEAR_MESSAGES = 'clearMessages', UPDATE_LAST_MESSAGE_DATE = 'updateLastMessageDate', SET_CURRENT_ATTACHMENT = 'setCurrentAttachment', SET_ONLINE = 'setOnline', UPDATE_JWT = 'updateJwt', }