deleteConversation method

Future deleteConversation(
  1. dynamic conversationParams
)

Implementation

Future<dynamic> deleteConversation(conversationParams) async {
  try {
    await promiseToFuture(timeweb!.deleteConversation(DeleteConversation.formateParams(conversationParams)));

    return CommonUtils.returnSuccessWithDesc('ok');
  } catch (err) {
    return CommonUtils.returnError(err.toString());
  }
}