getMessageOnlineUrl method
Future<V2TimValueCallback<V2TimMessageOnlineUrl> >
getMessageOnlineUrl({
- required String msgID,
override
Implementation
@override
Future<V2TimValueCallback<V2TimMessageOnlineUrl>> getMessageOnlineUrl(
{required String msgID}) async {
final result = await TencentImSDKPlugin.v2TIMManager
.getMessageManager()
.getMessageOnlineUrl(msgID: msgID);
if (result.code != 0) {
_coreService.callOnCallback(TIMCallback(
type: TIMCallbackType.API_ERROR,
errorMsg: result.desc,
errorCode: result.code));
}
return result;
}