BaseMessageParams

BaseMessageParams

Parameter class for building message objects. Classes UserMessageParams and FileMessageParams are derived from this class.

Constructor

new BaseMessageParams()

Members

(static) MentionType

Properties:
Name Type Description
USERS string

"users"

CHANNEL string

"channel"

String enum object for describing type of mentioning users

(static) PushNotificationDeliveryOption

Properties:
Name Type Description
DEFAULT string

"default"

SUPPRESS string

"suppress"

String enum object for describing push notification delivery option

mentionedUserIds :Array.<string>

Type:
  • Array.<string>

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

Type:

mentionType :string

Type:
  • string

metaArrayKeys :Array.<string>

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

DEPRECATED

Type:
  • Array.<string>

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

Default Value:
  • []
Type:

(nullable) parentMessageId :number

Default Value:
  • null

Unique identifier of a parent message

Type:
  • number