setLocalCustomInt method
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);
}