deleteLocalMessageByIds method
Future<void>
deleteLocalMessageByIds({
- required String conversationId,
- required ConversationType type,
- required List<
String> messageIds,
Implementation
Future<void> deleteLocalMessageByIds({
required String conversationId,
required ConversationType type,
required List<String> messageIds,
}) {
return checkResult(ChatSDKEvent.deleteLocalMessageByIds, () async {
final conversation = await getConversation(
conversationId: conversationId,
type: type,
);
return await conversation!.deleteMessageByIds(messageIds);
});
}