mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-20 12:39:20 +00:00
fix: add missing message types
This commit is contained in:
22
index.d.ts
vendored
22
index.d.ts
vendored
@@ -443,7 +443,27 @@ declare namespace WAWebJS {
|
|||||||
PAYMENT = 'payment',
|
PAYMENT = 'payment',
|
||||||
UNKNOWN = 'unknown',
|
UNKNOWN = 'unknown',
|
||||||
GROUP_INVITE = 'groups_v4_invite',
|
GROUP_INVITE = 'groups_v4_invite',
|
||||||
BUTTONS_RESPONSE = 'buttons_response'
|
LIST = 'list',
|
||||||
|
LIST_RESPONSE = 'list_response',
|
||||||
|
BUTTONS_RESPONSE = 'buttons_response',
|
||||||
|
PAYMENT = 'payment',
|
||||||
|
BROADCAST_NOTIFICATION = 'broadcast_notification',
|
||||||
|
CALL_LOG = 'call_log',
|
||||||
|
CIPHERTEXT = 'ciphertext',
|
||||||
|
DEBUG = 'debug',
|
||||||
|
E2E_NOTIFICATION = 'e2e_notification',
|
||||||
|
GP2 = 'gp2',
|
||||||
|
GROUP_NOTIFICATION = 'group_notification',
|
||||||
|
HSM = 'hsm',
|
||||||
|
INTERACTIVE = 'interactive',
|
||||||
|
NATIVE_FLOW = 'native_flow',
|
||||||
|
NOTIFICATION = 'notification',
|
||||||
|
NOTIFICATION_TEMPLATE = 'notification_template',
|
||||||
|
OVERSIZED = 'oversized',
|
||||||
|
PROTOCOL = 'protocol',
|
||||||
|
PTT = 'ptt',
|
||||||
|
REACTION = 'reaction',
|
||||||
|
TEMPLATE_BUTTON_REPLY = 'template_button_reply',
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Client status */
|
/** Client status */
|
||||||
|
|||||||
@@ -77,8 +77,26 @@ exports.MessageTypes = {
|
|||||||
UNKNOWN: 'unknown',
|
UNKNOWN: 'unknown',
|
||||||
GROUP_INVITE: 'groups_v4_invite',
|
GROUP_INVITE: 'groups_v4_invite',
|
||||||
LIST: 'list',
|
LIST: 'list',
|
||||||
|
LIST_RESPONSE: 'list_response',
|
||||||
BUTTONS_RESPONSE: 'buttons_response',
|
BUTTONS_RESPONSE: 'buttons_response',
|
||||||
PAYMENT: 'payment'
|
PAYMENT: 'payment',
|
||||||
|
BROADCAST_NOTIFICATION: 'broadcast_notification',
|
||||||
|
CALL_LOG: 'call_log',
|
||||||
|
CIPHERTEXT: 'ciphertext',
|
||||||
|
DEBUG: 'debug',
|
||||||
|
E2E_NOTIFICATION: 'e2e_notification',
|
||||||
|
GP2: 'gp2',
|
||||||
|
GROUP_NOTIFICATION: 'group_notification',
|
||||||
|
HSM: 'hsm',
|
||||||
|
INTERACTIVE: 'interactive',
|
||||||
|
NATIVE_FLOW: 'native_flow',
|
||||||
|
NOTIFICATION: 'notification',
|
||||||
|
NOTIFICATION_TEMPLATE: 'notification_template',
|
||||||
|
OVERSIZED: 'oversized',
|
||||||
|
PROTOCOL: 'protocol',
|
||||||
|
PTT: 'ptt',
|
||||||
|
REACTION: 'reaction',
|
||||||
|
TEMPLATE_BUTTON_REPLY: 'template_button_reply',
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user