FileMessageParams

FileMessageParams

Parameter class for building file messages. Use this class in the baseChannel.sendFileMessage() method of both GroupChannel or OpenChannel classes

Extends

Members

appleCriticalAlertOptions :module:model/appleCriticalAlertOptions~AppleCriticalAlertOptions

Overrides:
Default Value:
  • null

Push notification options for Apple critical alert.

Type:
  • module:model/appleCriticalAlertOptions~AppleCriticalAlertOptions

(nullable) customType :string

Overrides:
Default Value:
  • null
Type:
  • string

(nullable) data :string

Overrides:
Default Value:
  • null
Type:
  • string

file :Blob|Object|null

Default Value:
  • null
Type:
  • Blob | Object | null

(nullable) fileName :string

Default Value:
  • null
Type:
  • string

(nullable) fileSize :number

Default Value:
  • null
Type:
  • number

(nullable) fileUrl :string

Default Value:
  • null
Type:
  • string

isReplyToChannel :boolean

Overrides:
Default Value:
  • false
Type:
  • boolean

(nullable) mentionedMessageTemplate :string

Overrides:
Default Value:
  • null
Type:
  • string

mentionedUserIds :Array.<string>

Overrides:
Type:
  • Array.<string>

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

Overrides:
Type:
  • Array.<module:model/user~User>

mentionType :string

Overrides:
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:
  • Array.<module:model/messageMetaArray~MessageMetaArray>

(nullable) mimeType :string

Default Value:
  • null
Type:
  • string

(nullable) parentMessageId :number

Overrides:
Default Value:
  • null

Unique identifier of a parent message

Type:
  • number

(nullable) pushNotificationDeliveryOption :string

Overrides:
Default Value:
  • null
Type:
  • string

thumbnailSizes :Array.<Object>

Default Value:
  • []
Type:
  • Array.<Object>

Methods

serialize() → {Object}

Returns serialized object for the class instance.

Returns:
Type
Object