MCPcopy
hub / github.com/wechaty/wechaty / Sayable

Interface Sayable

src/types.ts:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26export type AnyFunction = (...args: any[]) => any
27
28export interface Sayable {
29 id : string,
30 wechaty : Wechaty,
31 say (
32 text : string,
33 replyTo? : Contact | Contact[]
34 ): Promise<void | Message>
35}
36
37export interface Acceptable {
38 accept: () => Promise<void>

Callers 3

sayMethod · 0.65
room.spec.tsFile · 0.65
onMessageFunction · 0.65

Implementers 4

Wechatysrc/wechaty.ts
Contactsrc/user/contact.ts
Roomsrc/user/room.ts
Messagesrc/user/message.ts

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…