Open jeferssonlemes opened 5 months ago
Is the feature actually broken or am I implementing something wrong?
Everything is fine, just little thing is messed
statusJidList
let users_Jid = [user1,user2,user3,...] // Jids for Users to Send your status
let Bot_Jid = conn.decodJid(conn.user.id) // Get Jid for Bot Number
statusJidList: [ Bot_Jid , ...users_Jid ], // Must need to put "Bot_Jid" in array, OtherWise you can't see your status
- status'll be updated but you can't see it, If `Bot_Number_Jid` is not Present in `statusJidList`
***HOPE IT'LL HELP!***
@SuhailTechInfo Thanks !! You're right, I actually redid the test and the status update worked as expected, but what about sending it to the broadcast list, is there also something I did wrong?
what about sending it to the broadcast list, is there also something I did wrong?
Basicaly Theres no option to get directly broadcast list
You can get Contact List
Using Store
global.users = Object.keys ( store.contacts || {}) // Getinng Contacts jid into USERS Array
You can Create a an Array to store all message senders jid
if(! global.users ) global.users = [] // Initialize an Array
else { global.users.push( message.sender ) } // Storing sender jid in USERS Array
statusJidList: [ Bot_Jid , ...global.users],
@SuhailTechInfo I understood perfectly and I'm grateful for your valuable tips, but I still have problems trying to send messages to a broadcast list, as it is in the resource documentation where it says: "You can send messages to broadcast lists the same way you send messages to groups & individual chats" "Right now, WA Web does not support creating broadcast lists, but you can still delete them" "Broadcast IDs are in the format 12345678@broadcast"
Using status@broadcast is ok for me, I only send it to broadcast lists that aren't. Does this no longer work for you?
You can fetch the status contacts list via privacy fetch
Will implement
I have the same problem! I can't send messages to broadcast lists as stated in the documentation
I have same problem, PENDING.
Describe the bug I'm trying to simulate broadcast submissions as documented but without success
To Reproduce
I did my tests based on this example in the documentation:
Is the feature actually broken or am I implementing something wrong?