Skip to main content
Version: 3.0.0

👁‍🗨 Generate Link

Generate direct link for whatsapp

whatsapp.getLink(
phoneNumber : "+91XXXXXXXXXX",
message = 'Hy Johnny, How Are You.',
shortLink = false,
bold : ["Johnny"] ,
italic : ["How"],
strikethrough : ["Are"],
monospace : ["You"],
);
Output
https://api.whatsapp.com/send?phone=91XXXXXXXXXX&text=Hy%20%2AJohnny%2A%2C%20_How_%20~Are~%20%60%60%60You%60%60%60.%0A
paramtyperequireddescription
phoneNumberStringyesPhone number with county code and plus.
messageStringnoA message to send
shortLinkboolnoMake link shorten default: false
boldList<String>noList of Text to add Bold formatting
italicList<String>noList of Text to add italic formatting
strikethroughList<String>noList of Text to add strikethrough formatting
monospaceList<String>noList of Text to add monospace formatting