Tictop Ticket help you create tictop.app's task from your website.
Install the package with:
npm i tictop-ticket
# Step 1. Using with javascript code
import tictopTicket from 'tictop-ticket';
# Step 2. Getting your token from www.tictop.app
const token = 'Your token'
# Step 3. Initialize and open first time
const options = {
zIndex: 100
}
const requesterInfo = {
id: "Requester's id",
rootId: "",
firstName: "Requester's first name",
lastName: "Requester's last name",
email: "Requester's email",
}
tictopTicket.initializeApp(token, options, requesterInfo)
# You can customize with your button
tictopTicket.ticket().open()
tictopTicket.ticket().subscribeReceiveNotification((data) => {
console.log("🚀 Tictop ~ data:", data)
# You can do something with notification from Tictop
});
Website: www.tictop.vn
Application: www.tictop.app
Email: services@tictop.app
Mobile phone: (+84) 966 268 310
Hotline: (024) 99 99 96 98