Closed Seramak closed 3 years ago
What am I doing wrong?
Example: client.sendMessage(notification.id.remote, media)
Example: client.sendMessage(notification.id.remote, media)
Yes thank you. It works. I was confused by the line from the example in the documentation :)))
Example: client.sendMessage(notification.id.remote, media)
Yes thank you. It works. I was confused by the line from the example in the documentation :)))
Just FYI the docs state chat.sendMessage
, not client.sendMessage
, and you can get the chat if you wanted to by calling const chat = await message.getChat()
.
Example: client.sendMessage(notification.id.remote, media)
Yes thank you. It works. I was confused by the line from the example in the documentation :)))
Example: client.sendMessage(notification.id.remote, media)
It's showing me notification is not defined ಥ_ಥ
Hello. Can't send document
I'm trying to send an attachment on demand, but I get an error in response.
console output:
Thanks