From 75d3c635f0d8eb73775eb8f8aa2653d2ec8d6731 Mon Sep 17 00:00:00 2001 From: Thomas <1688389+RakSrinaNa@users.noreply.github.com> Date: Sun, 10 Jul 2022 08:15:11 +0200 Subject: [PATCH] Add missing deviceType property in Message interface (#1510) Co-authored-by: Rajeh Taher --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index 276496d..7450208 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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 */