setLocalCustomInt method

Future<bool> setLocalCustomInt(
  1. String msgID,
  2. int localCustomInt, [
  3. String? convID
])

Set local custom int; returns the bool shows if succeed. Please provide convID, if you use TIMUIKitChatController without specifying to a TIMUIKitChat.

Implementation

Future<bool> setLocalCustomInt(String msgID, int localCustomInt,
    [String? convID]) async {
  final String? conversationID = convID ?? model?.conversationID;
  if (conversationID == null) {
    return false;
  }
  return globalChatModel.setLocalCustomInt(
      msgID, localCustomInt, conversationID);
}