Skip to main content

Function: getChatId()

getChatId(__namedParameters): string

Defined in: src/Utils/process-message.ts:91

Get the ID of the chat from the given key. Typically -- that'll be the remoteJid, but for broadcasts, it'll be the participant

Parameters

__namedParameters

IMessageKey

Returns

string