Closed muzammilgit closed 4 years ago
@muzammilgit did you open the api docs? You should be able to send messages using sendText to a contact
yes i checked, but its not working
@muzammilgit did this issue just start happening or is this the first time you tried it?
i just tried first, its sending now, only saved contact are allowed to send message?
@muzammilgit Yes. If you want to start a new chat I suggest reading this:
My suggestion would be to set up a website where people can explicitly start a chat with you. That way you are least likely to get reported for spam/get your account banned.
Please fill the issue template in the future. Thanks
@smashah Can I not send messages to numbers not saved in my contact? Or can I message any number?
For some reason a few days ago I saw a message that number is not in your contacts, get a subscription. Something like that. I dynamically (using template literals) passed the number to sendText
at that time and I think that's why it didn't work
@max-programming yes you need a "restricted license key" to send messages to unknown numbers. However you can also receive this error if the number is wrong or doesn't exist
Easy API not sending messages. is license key required to send message. i am using docker