mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
renamed user.id to user.jid
This commit is contained in:
@@ -113,12 +113,6 @@ export interface AuthenticationCredentialsBrowser {
|
||||
WAToken2: string
|
||||
}
|
||||
export type AnyAuthenticationCredentials = AuthenticationCredentialsBrowser | AuthenticationCredentialsBase64 | AuthenticationCredentials
|
||||
export interface WAUser {
|
||||
id: string
|
||||
name: string
|
||||
phone: string
|
||||
imgUrl: string
|
||||
}
|
||||
|
||||
export interface WAGroupCreateResponse {
|
||||
status: number
|
||||
@@ -145,12 +139,21 @@ export interface WAGroupModification {
|
||||
}
|
||||
|
||||
export interface WAContact {
|
||||
/** name of the contact, the contact has set on their own on WA */
|
||||
notify?: string
|
||||
jid: string
|
||||
/** I have no idea */
|
||||
vname?: string
|
||||
/** name of the contact, you have saved on your WA */
|
||||
name?: string
|
||||
index?: string
|
||||
/** short name for the contact */
|
||||
short?: string
|
||||
}
|
||||
export interface WAUser extends WAContact {
|
||||
phone: any
|
||||
imgUrl?: string
|
||||
}
|
||||
export interface WAChat {
|
||||
jid: string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user