MCPcopy
hub / github.com/wechaty/wechaty / WechatyEvents

Interface WechatyEvents

src/events/wechaty-events.ts:206–223  ·  view source on GitHub ↗

* @listens Wechaty * @param {WechatyEventName} event - Emit WechatyEvent * @param {WechatyEventFunction} listener - Depends on the WechatyEvent * * @return {Wechaty} - this for chaining, * see advanced {@link https://github.com/wechaty/wechaty-getting-

Source from the content-addressed store, hash-verified

204 * })
205 */
206interface WechatyEvents {
207 'room-invite' : WechatyRoomInviteEventListener
208 'room-join' : WechatyRoomJoinEventListener
209 'room-leave' : WechatyRoomLeaveEventListener
210 'room-topic' : WechatyRoomTopicEventListener
211 dong : WechatyDongEventListener
212 error : WechatyErrorEventListener
213 friendship : WechatyFriendshipEventListener
214 heartbeat : WechatyHeartbeatEventListener
215 login : WechatyLoginEventListener
216 logout : WechatyLogoutEventListener
217 message : WechatyMessageEventListener
218 puppet : WechatyPuppetEventListener
219 ready : WechatyReadyEventListener
220 scan : WechatyScanEventListener
221 start : WechatyStartStopEventListener
222 stop : WechatyStartStopEventListener
223}
224
225export const WechatyEventEmitter = EventEmitter as new () => TypedEventEmitter<
226 WechatyEvents

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…