setLocalCustomData method
Set local custom data; returns the bool shows if succeed.
Please provide convID
, if you use TIMUIKitChatController
without specifying to a TIMUIKitChat
.
Implementation
Future<bool> setLocalCustomData(String msgID, String localCustomData,
[String? convID]) async {
final String? conversationID = convID ?? model?.conversationID;
if (conversationID == null) {
return false;
}
return globalChatModel.setLocalCustomData(
msgID, localCustomData, conversationID);
}