QuickBlox / quickblox-ios-sdk

QuickBlox iOS SDK for messaging and video calling
https://quickblox.com/developers/IOS
MIT License
397 stars 358 forks source link

Return MessageID on send #1207

Closed cloudtenlabs closed 1 year ago

cloudtenlabs commented 4 years ago

Can you please return message Id on dialog.send function? let privateDialog = ... privateDialog.send(message) { (error) in

}

I need to implement the feature to delete the message the users just sent but I cant delete them because they do not have message Id

maughray commented 2 years ago

You should firstly create message via QBRequest.createMessage and then send it. This method will also attach an identifier for this message

ghost commented 2 years ago

@cloudtenlabs Hello,

This is Nikolay from QuickBlox support.

Please let me know if the issue is still relevant and if you tried the solution provided in the previous comment.