# Interface IQuietHoursOption

#### Version

1.0.0

interface IQuietHoursOption {
startTime: string;
duration: number;
level: PushNotificationLevel;
}

- Defined in conversation/option/ConversationOption.ts:44

##### Index

### Properties

startTime
duration
level

## Properties

### startTime

startTime: string

开始消息免打扰时间，格式为 HH:MM:SS

- Defined in conversation/option/ConversationOption.ts:48

### duration

duration: number

需要消息免打扰分钟数，[1 ~ 1439]

比如，您设置的起始时间是 00：00， 结束时间为 01:00，则 duration 为 60 分钟。设置为 1439 代表全天免打扰 （23 * 60 + 59 = 1439 ）

- Defined in conversation/option/ConversationOption.ts:55

### level

level: PushNotificationLevel

消息通知级别，Default 代表移除免打扰

- Defined in conversation/option/ConversationOption.ts:60