mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-19 20:19:14 +00:00
Add missing deviceType property in Message interface (#1510)
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
This commit is contained in:
2
index.d.ts
vendored
2
index.d.ts
vendored
@@ -604,6 +604,8 @@ declare namespace WAWebJS {
|
|||||||
ack: MessageAck,
|
ack: MessageAck,
|
||||||
/** If the message was sent to a group, this field will contain the user that sent the message. */
|
/** If the message was sent to a group, this field will contain the user that sent the message. */
|
||||||
author?: string,
|
author?: string,
|
||||||
|
/** String that represents from which device type the message was sent */
|
||||||
|
deviceType: string,
|
||||||
/** Message content */
|
/** Message content */
|
||||||
body: string,
|
body: string,
|
||||||
/** Indicates if the message was a broadcast */
|
/** Indicates if the message was a broadcast */
|
||||||
|
|||||||
Reference in New Issue
Block a user