feat: get Contact's "About" text (close #491)
This commit is contained in:
parent
8b101d1f3d
commit
71dbe99023
2 changed files with 19 additions and 0 deletions
4
index.d.ts
vendored
4
index.d.ts
vendored
|
|
@ -679,6 +679,10 @@ declare namespace WAWebJS {
|
|||
block: () => Promise<boolean>,
|
||||
/** Unlocks this contact from WhatsApp */
|
||||
unblock: () => Promise<boolean>,
|
||||
|
||||
/** Gets the Contact's current "about" info. Returns null if you don't have permission to read their status. */
|
||||
getAbout: () => Promise<string | null>,
|
||||
|
||||
}
|
||||
|
||||
export interface ContactId {
|
||||
|
|
|
|||
Loading…
Reference in a new issue