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