PostData: { entry: { changes: { field: "messages"; value: { messaging_product: "whatsapp"; metadata: { display_phone_number: string; phone_number_id: string; }; } & ({ contacts: [ServerContacts]; messages: [ServerMessage]; } | { statuses: [{ id: string; recipient_id: string; status: ServerStatus; timestamp: string; } & ({ conversation: ServerConversation; errors: undefined; pricing: ServerPricing; } | { conversation: undefined; errors: [ServerError]; pricing: undefined; })]; }); }[]; id: string; }[]; object: "whatsapp_business_account"; }
Type declaration
-
entry: {
changes: {
field: "messages";
value: {
messaging_product: "whatsapp";
metadata: {
display_phone_number: string;
phone_number_id: string;
};
} & ({
contacts: [ServerContacts];
messages: [ServerMessage];
} | {
statuses: [{
id: string;
recipient_id: string;
status: ServerStatus;
timestamp: string;
} & ({
conversation: ServerConversation;
errors: undefined;
pricing: ServerPricing;
} | {
conversation: undefined;
errors: [ServerError];
pricing: undefined;
})];
});
}[];
id: string;
}[]
-
object: "whatsapp_business_account"