DaggieBlanqx / whatsappcloudapi_wrapper

An easy way to build Whatsapp Chatbots on top of the new Whatsapp Cloud API
129 stars 66 forks source link

Allow Custom ID for Account with Multiple Numbers in parseMessage #35

Open sayoadesokan opened 7 months ago

sayoadesokan commented 7 months ago

Issue Description: The current parseMessage method in WhatsAppCloud API lacks a simple way to set a custom ID for accounts with multiple numbers. This becomes problematic when handling different numbers associated with an account that require specific processing based on unique identifiers.

Proposal: To improve parseMessage, we suggest adding an optional custom ID parameter. This change allows users to specify a custom identifier when using parseMessage, providing flexibility in managing messages from different numbers within the same account.

This enhancement ensures users can easily provide a custom ID when using parseMessage, improving customization and better management of messages from multiple numbers associated with an account.

DaggieBlanqx commented 6 months ago

hello @sayoadesokan , Feel free to open a PR

sayoadesokan commented 6 months ago

@DaggieBlanqx i have done that, pls do look through it and merge pls. Thank you!