Closed DavidsonGomes closed 1 year ago
I have the same problem here... I'll wait for the solution that is informed...
Read this please https://github.com/WhiskeySockets/Baileys/issues/38
Read this please #38
I made my code that way, but it doesn't even reach the messages.update event
Same problem. I don't get pollUpdates update in messages.update
Very curious, it works perfectly for me. Here I have a base for a bot that I develop and it works. latest version baileys
https://github.com/andresayac/bot_baileys
Very curious, it works perfectly for me. Here I have a base for a bot that I develop and it works. latest version baileys
https://github.com/andresayac/bot_baileys
Yeah, that's pretty strange, because here's the same code for the messages.update event, but putting a console.log at the beginning of the event doesn't even get the information there, nothing gets there
I see that you are not reading well, you must create the getMessage store and that's it, the event will work, use my code as a guide
I see that you are not reading well, you must create the getMessage store and that's it, the event will work, use my code as a guide
Look, here is my condition where I define the connection and where I listen to the messages.update event
Connection waSocket https://i.imgur.com/C48ggJo.png
messages.update https://i.imgur.com/yJXoXQL.png
I see that you need to declare the store I share all the necessary lines
https://github.com/WhiskeySockets/Baileys/blob/2dad94b1f032d38b0965402dee5c3c39b12fa7f4/Example/example.ts#L21 https://github.com/WhiskeySockets/Baileys/blob/2dad94b1f032d38b0965402dee5c3c39b12fa7f4/Example/example.ts#L22C38-L22C38 https://github.com/WhiskeySockets/Baileys/blob/2dad94b1f032d38b0965402dee5c3c39b12fa7f4/Example/example.ts#L24 https://github.com/WhiskeySockets/Baileys/blob/2dad94b1f032d38b0965402dee5c3c39b12fa7f4/Example/example.ts#L51 https://github.com/WhiskeySockets/Baileys/blob/2dad94b1f032d38b0965402dee5c3c39b12fa7f4/Example/example.ts#L54 https://github.com/WhiskeySockets/Baileys/blob/2dad94b1f032d38b0965402dee5c3c39b12fa7f4/Example/example.ts#L250
I see that you need to declare the store I share all the necessary lines
https://github.com/WhiskeySockets/Baileys/blob/2dad94b1f032d38b0965402dee5c3c39b12fa7f4/Example/example.ts#L22C38-L22C38 https://github.com/WhiskeySockets/Baileys/blob/2dad94b1f032d38b0965402dee5c3c39b12fa7f4/Example/example.ts#L24
I solved the issue by adding the store to the project. thank you very much!
meu
I see that you need to declare the store I share all the necessary lines https://github.com/WhiskeySockets/Baileys/blob/2dad94b1f032d38b0965402dee5c3c39b12fa7f4/Example/example.ts#L21
https://github.com/WhiskeySockets/Baileys/blob/2dad94b1f032d38b0965402dee5c3c39b12fa7f4/Example/example.ts#L22C38-L22C38 https://github.com/WhiskeySockets/Baileys/blob/2dad94b1f032d38b0965402dee5c3c39b12fa7f4/Example/example.ts#L24
I solved the issue by adding the store to the project. thank you very much!
my messageSecret Buffer returns empty
Very curious, it works perfectly for me. Here I have a base for a bot that I develop and it works. latest version baileys
https://github.com/andresayac/bot_baileys
Can you me share that code ?
I don't get any message.update when a poll message is voted, it only arrives in the event message.upsert but it arrives encrypted.
I saw here in the files that it should be sent https://github.com/WhiskeySockets/Baileys/blob/master/src/Utils/process-message.ts#L337