Skip to main content

Interface: Contact

api/model/contact.Contact

Properties

formattedName

formattedName: string


id

id: ContactId


isBusiness

isBusiness: boolean


isEnterprise

isEnterprise: boolean

Most likely true when the account has a green tick. See verifiedLevel also.


isMe

isMe: boolean


isMyContact

isMyContact: boolean


isOnline

Optional isOnline: boolean


isPSA

isPSA: boolean


isUser

isUser: boolean


isWAContact

isWAContact: boolean


labels

labels: string[]


lastSeen

Optional lastSeen: number


msgs

msgs: Message[]


name

name: string


plaintextDisabled

plaintextDisabled: boolean


profilePicThumbObj

profilePicThumbObj: Object

Type declaration

NameType
eurlstring
idId
imgstring
imgFullstring
rawstring
tagstring

pushname

pushname: string


shortName

shortName: string


statusMute

statusMute: boolean


type

type: string


verifiedLevel

verifiedLevel: number

0 = not verified 2 = verified (most likely represents a blue tick)


verifiedName

verifiedName: string

The business account name verified by WA.