Closed x23piracy closed 8 years ago
message.isGroupMessage()
Hi,
thank you :) and if detected as true howto send the answer not to the group but to the contact directly instead?
my goal is to not react on some command with the bot when used in a group (bot in group) then i want to except and tell the user that he need to use the specifiy command directly and not in a group.
Regards X23
message.getParticipant()
Hi,
How to check whether the message is from specific number? I was try if (message.getParticipant() == '919800116113')
but it is not working
Thanks.
Hi,
you need to check for number@s.whatsapp.net ;)
Regards X23
Hi,
for some scripting i need to know if someone sends something to the bot via group or direct. How is that possible?
Regards X23