Chat class constructor
Open whatsaapp client instance
Open whatsapp .onMessage message instance
Pino logger instance
p-limit instance for limitting message
Current chatter contact instance
Args list from user command
Whatsapp client instance
Private
contactCurrent chatter contact instance
Optional
gameAccessible user game property by phone number
Private
incomingActual incoming message object
Private
limitterMessage limitter instance from p-limit
Pino logger instance
Accessible message instance that contains information about incoming message
Optional
userAccessible user document by phone number
Is current chatter sending message via DM chat
Is current chatter sending message via Group chat
Is current chatter joinin a game session
Current chatter have message media in it
Current chatter have quoted message that have media in it
Reply current chatter using text or image with caption to current person chatter
The text that will sended
Optional
image: MessageMediaImage that will sended in base64 data URL (Optional)
Generated using TypeDoc
Class for handling incoming chat and outcoming chat