Options
All
  • Public
  • Public/Protected
  • All
Menu

export class type

Hierarchy

  • ChatSilentModeParam

Index

Constructors

Properties

duration?: number

The duration of the do-not-disturb mode, in minutes.

The end time of do-not-disturb mode.

  • Both the start time and end time need to be set.
  • If both hours and minutes are set to 0 in the start time and end time, the Do Not Disturb mode is disabled.

The parameter type of the do-not-disturb mode.

remindType?: ChatPushRemindType

The push notification mode.

startTime?: ChatSilentModeTime

The start time of do-not-disturb mode.

  • Both the start time and end time need to be set.
  • If both hours and minutes are set to 0 in the start time and end time, the Do Not Disturb mode is disabled.

Methods

  • Set the duration of the do-not-disturb mode for the offline message push.

    Parameters

    • silentDuration: number

      The duration of the do-not-disturb mode, in minutes.

    Returns ChatSilentModeParam

    The ChatSilentModeParam object.

  • Sets the time frame of the do-not-disturb mode.

    The time frame of the do-not-disturb mode is valid only at the app level, but not for conversations.

    params

    params

    • startTime: The start point in the do-not-disturb time frame.
    • endTime: The end point in the do-not-disturb time frame.

    Parameters

    Returns ChatSilentModeParam

    The ChatSilentModeParam object.

Generated using TypeDoc