parent
b0baeaa8da
commit
300b367fa0
1 changed files with 12 additions and 0 deletions
3
index.d.ts
vendored
3
index.d.ts
vendored
|
|
@ -28,6 +28,9 @@ declare namespace WAWebJS {
|
|||
/** Closes the client */
|
||||
destroy(): Promise<void>
|
||||
|
||||
/** Logs out the client, closing the current session */
|
||||
logout(): Promise<void>
|
||||
|
||||
/** Get chat instance by ID */
|
||||
getChatById(chatId: string): Promise<Chat>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue