Baileys icon indicating copy to clipboard operation
Baileys copied to clipboard

[BUG] sendMessage in status broadcast

Open siTotes opened this issue 2 years ago • 7 comments

how can I send or create stories in this baileys module. in the example on github they changed the function from id to status@broadcast but my try failed and the code was stopped

siTotes avatar Apr 27 '23 05:04 siTotes

afaik it's not possible atm

canove avatar Apr 28 '23 12:04 canove

The flow to do this is the same of sending a message to group, but we need define manually the contact list.

edgardmessias avatar May 24 '23 01:05 edgardmessias

The flow to do this is the same of sending a message to group, but we need define manually the contact list.

Can you provide an example of the code for me. I don't understand a bit

siTotes avatar May 24 '23 03:05 siTotes

There are no code to do it, we need to develop it

edgardmessias avatar May 24 '23 11:05 edgardmessias

There are no code to do it, we need to develop it

come on, just make it when sending messages or videos and pictures because on all the web nothing explains about this

what I mean is just like the sample code, just an example conn.sendMessage(status@broadcast, {text: 'halo pren'})

siTotes avatar May 24 '23 21:05 siTotes

@siTotes , what I mean is: There are no code in Baileys to handle messages for status/broadcast, we need to modify the Baileys to do it. I don't have enough time to it.

edgardmessias avatar May 25 '23 11:05 edgardmessias

@siTotes , what I mean is: There are no code in Baileys to handle messages for status/broadcast, we need to modify the Baileys to do it. I don't have enough time to it.

Ok thanks then

siTotes avatar May 26 '23 22:05 siTotes

Added support in https://github.com/WhiskeySockets/Baileys/pull/249

Auties00 avatar Oct 05 '23 11:10 Auties00