deleteLocalThreadMessageById method
Implementation
Future<void> deleteLocalThreadMessageById({
required String threadId,
required String messageId,
}) {
return checkResult(ChatSDKEvent.deleteLocalThreadMessageById, () async {
final conversation = await getThreadConversation(
conversationId: threadId,
);
return await conversation!.deleteMessage(messageId);
});
}