- Preparing search index...
- The search index is not available
baileys
Type alias BaileysEventMap
BaileysEventMap: { blocklist.set: { blocklist: string[]; }; blocklist.update: { blocklist: string[]; type: "add" | "remove"; }; call: WACallEvent[]; chats.delete: string[]; chats.phoneNumberShare: { jid: string; lid: string; }; chats.update: ChatUpdate[]; chats.upsert: Chat[]; connection.update: Partial<ConnectionState>; contacts.update: Partial<Contact>[]; contacts.upsert: Contact[]; creds.update: Partial<AuthenticationCreds>; group-participants.update: { action: ParticipantAction; author: string; id: string; participants: string[]; }; groups.update: Partial<GroupMetadata>[]; groups.upsert: GroupMetadata[]; labels.association: { association: LabelAssociation; type: "add" | "remove"; }; labels.edit: Label; message-receipt.update: MessageUserReceiptUpdate[]; messages.delete: { keys: WAMessageKey[]; } | { all: true; jid: string; }; messages.media-update: { error?: Boom; key: WAMessageKey; media?: { ciphertext: Uint8Array; iv: Uint8Array; }; }[]; messages.reaction: { key: WAMessageKey; reaction: IReaction; }[]; messages.update: WAMessageUpdate[]; messages.upsert: { messages: WAMessage[]; type: MessageUpsertType; }; messaging-history.set: { chats: Chat[]; contacts: Contact[]; isLatest: boolean; messages: WAMessage[]; }; presence.update: { id: string; presences: { [
participant:
string]
: PresenceData; }; }; }
Type declaration
-
blocklist.set: {
blocklist: string[];
}
-
blocklist.update: {
blocklist: string[];
type: "add" | "remove";
}
-
blocklist: string[]
-
type: "add" | "remove"
-
-
chats.delete: string[]
-
chats.phoneNumberShare: {
jid: string;
lid: string;
}
-
-
chats.upsert: Chat[]
-
-
contacts.update: Partial<Contact>[]
-
contacts.upsert: Contact[]
-
-
group-participants.update: {
action: ParticipantAction;
author: string;
id: string;
participants: string[];
}
-
-
author: string
-
id: string
-
participants: string[]
-
-
-
labels.association: {
association: LabelAssociation;
type: "add" | "remove";
}
-
association: LabelAssociation
-
type: "add" | "remove"
-
labels.edit: Label
-
-
messages.delete: {
keys: WAMessageKey[];
} | {
all: true;
jid: string;
}
-
messages.media-update: {
error?: Boom;
key: WAMessageKey;
media?: {
ciphertext: Uint8Array;
iv: Uint8Array;
};
}[]
-
messages.reaction: {
key: WAMessageKey;
reaction: IReaction;
}[]
-
-
-
messaging-history.set: {
chats: Chat[];
contacts: Contact[];
isLatest: boolean;
messages: WAMessage[];
}
-
chats: Chat[]
-
-
isLatest: boolean
-
-
presence.update: {
id: string;
presences: {
[participant: string]: PresenceData;
};
}
-
id: string
-
presences: {
[participant: string]: PresenceData;
}
Receive an update on a call, including when the call was received, rejected, accepted