UNPKG

@juzi/wechaty

Version:

Wechaty is a RPA SDK for Chatbot Makers.

23 lines 1.39 kB
import { EventEmitter } from 'events'; import * as PUPPET from '@juzi/wechaty-puppet'; const WECHATY_EVENT_DICT = { ...PUPPET.types.CHAT_EVENT_DICT, dong: 'Should be emitted after we call `Wechaty.ding()`', error: "Will be emitted when there's an Error occurred.", heartbeat: 'Will be emitted periodically after the Wechaty started. If not, means that the Wechaty had died.', puppet: 'Will be emitted when the puppet has been set.', ready: 'All underlined data source are ready for use.', start: 'Will be emitted after the Wechaty had been started.', stop: 'Will be emitted after the Wechaty had been stopped.', 'contact-tag-add': 'Will be emitted when contact has new tags.', 'contact-tag-remove': 'Will be emitted when contact has some tags removed.', 'contact-name': 'Will be emitted when contact name has been changed.', 'contact-alias': 'Will be emitted when contact alias has been changed.', 'contact-phone': 'Will be emitted when contact phone has been changed.', 'contact-description': 'Will be emitted when contact description has been changed.', 'contact-corporation': 'Will be emitted when contact corporation has been changed.', 'room-owner': 'Will be emitted when room owner has been changed.', }; const WechatyEventEmitter = EventEmitter; export { WechatyEventEmitter, }; //# sourceMappingURL=wechaty-events.js.map