dync-lead-sender
v1.1.2
Published
API lead sender
Downloads
4
Readme
DYNC LEAD SENDER DOCS
Installation
npm install dync-lead-sender
Usage
import LeadSender from "dync-lead-sender";
LeadSender({
url: "https://example.uz"
body: {
name: "JohnDOe",
tel: "+998991234567",
email: "[email protected]",
text: "hello world",
user_id: "telegram user_id",
},
fnFinished: () => {
console.log("Finieshed sending procces")
}
fnErrored: (error) => {
console.error(error.message);
}})
USING in React
<button
onClick={()=> {
LeadSender({
name:"John",
tel:"99899933344",
})
}}
/>