UNPKG

node-red-contrib-chatbot

Version:

REDBot a Chat bot for a full featured chat bot for Telegram, Facebook Messenger and Slack. Almost no coding skills required

16 lines (15 loc) 449 B
import PropTypes from 'prop-types'; import momentPropTypes from 'react-moment-proptypes'; export default PropTypes.shape({ username: PropTypes.string, ts: PropTypes.oneOfType([momentPropTypes.momentObj, PropTypes.func]), content: PropTypes.oneOfType([ PropTypes.string, PropTypes.object ]), userId: PropTypes.string, buttons: PropTypes.arrayOf(PropTypes.shape({ label: PropTypes.string, value: PropTypes.string })) });