ScheduledUserMessageParams

ScheduledUserMessageParams

Parameter class for building scheduled user messages. Used by groupChannel.registerScheduledUserMessage

Constructor

new ScheduledUserMessageParams(jsonObjectopt)

Parameters:
Name Type Attributes Description
jsonObject Object <optional>

Extends

Members

appleCriticalAlertOptions :module:model/appleCriticalAlertOptions~AppleCriticalAlertOptions

Overrides:
Default Value:
  • null

Push notification options for Apple critical alert.

Type:

(nullable) customType :string

Overrides:
Default Value:
  • null
Type:
  • string

(nullable) data :string

Overrides:
Default Value:
  • null
Type:
  • string

(nullable) day :number

Default Value:
  • null
Type:
  • number

(nullable) hour :number

Default Value:
  • null
Type:
  • number

mentionedUserIds :Array.<string>

Overrides:
Type:
  • Array.<string>

mentionedUsers :Array.<module:model/user~User>

Overrides:
Type:

mentionType :string

Overrides:
Type:
  • string

(nullable) message :string

Overrides:
Default Value:
  • null
Type:
  • string

metaArrayKeys :Array.<string>

Overrides:
Deprecated:
  • since version v3.0.122, please use metaArrays instead
Default Value:
  • []

DEPRECATED

Type:
  • Array.<string>

metaArrays :Array.<module:model/messageMetaArray~MessageMetaArray>

Overrides:
Default Value:
  • []
Type:

(nullable) min :number

Default Value:
  • null
Type:
  • number

(nullable) month :number

Default Value:
  • null
Type:
  • number

(nullable) parentMessageId :number

Overrides:
Default Value:
  • null

Unique identifier of a parent message

Type:
  • number

(nullable) pushNotificationDeliveryOption :string

Overrides:
Default Value:
  • null
Type:
  • string

(nullable) scheduledDateTimeString :string

Type:
  • string

targetLanguages :Array.<string>

Overrides:
Deprecated:
  • since version v3.0.84, please use translationTargetLanguages instead
Default Value:
  • []
Type:
  • Array.<string>

(nullable) timezone :string

Default Value:
  • null
Type:
  • string

translationTargetLanguages :Array.<string>

Overrides:
Default Value:
  • []
Type:
  • Array.<string>

(nullable) year :number

Default Value:
  • null
Type:
  • number

Methods

setSchedule(year, month, day, hour, min, timezone)

Parameters:
Name Type Description
year number
month number
day number
hour number
min number
timezone string