livePostMuteUser static method
Implementation
static Future<DataResult> livePostMuteUser(
{required bool isMute, required int userId, required int roomId}) async {
var res = await BaseDao.fromBaseEncryptV3(
{
'muteType': isMute ? 0 : 1,
'roomId': roomId,
'userId': userId,
},
Address.livePostMute(),
);
if (res.result) {
return DataResult(res.data, true);
}
return res;
}