Add missing deviceType property in Message interface (#1510)

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
This commit is contained in:
Thomas
2022-07-10 08:15:11 +02:00
committed by GitHub
parent 8497a3d7e5
commit 75d3c635f0

2
index.d.ts vendored
View File

@@ -604,6 +604,8 @@ declare namespace WAWebJS {
ack: MessageAck,
/** If the message was sent to a group, this field will contain the user that sent the message. */
author?: string,
/** String that represents from which device type the message was sent */
deviceType: string,
/** Message content */
body: string,
/** Indicates if the message was a broadcast */