Skip to main content
Version: 3.0.0

Initialization

You need to initialization class object, using constructor.

 const accessToken ='EAAGp6aTb8.....';
const fromNumberId = '1082772452xxxxx';

final whatsapp = WhatsApp(accessToken, fromNumberId);
paramtyperequireddescription
accessTokenstringyesAccess token of your Facebook App
fromNumberIdstringyesPhone Number id of your whatsapp business