ChatSilentModeParam.silentDuration constructor

ChatSilentModeParam.silentDuration(
  1. int? silentDuration
)

~english Set the offline push DND duration.

Param silentDuration Offline push DND duration, units of minutes. ~end

~chinese 设置离线推免打扰时长。 Param silentDuration 离线推送免打扰时长,单位为分钟。 ~end

Implementation

ChatSilentModeParam.silentDuration(this.silentDuration)
    : this.startTime = null,
      this.endTime = null,
      this.remindType = null,
      this._paramType = ChatSilentModeParamType.SILENT_MODE_DURATION;