Chat SDK v1.3.5 for React Native
    Preparing search index...

    Class ChatSilentModeParam

    The parameter entity class for the offline message push.

    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.