Hierarchy

  • default
    • NotificationMessage

Properties

channelType: ChannelType = ChannelType.BASE

The ChannelType of the channel this message belongs to.

channelUrl: string

The channel URL of the channel this message belongs to.

createdAt: number = 0

The creation time of the message in milliseconds.

customType: string

The custom type of the message.

data: string

The custom type of the message.

extendedMessage: object = {}

The template for the message.

extendedMessagePayload?: Record<string, unknown>

The datas for the message.

mentionType: null | MentionType = null

The mention type. Refer to MentionType.

mentionedMessageTemplate: string

The mentioned message template of the message.

mentionedUserIds: null | string[] = null

The mentioned user ids of the message.

mentionedUsers: null | User[] = null

The mentioned users of the message.

messageType: MessageType = MessageType.BASE
metaArrays: MessageMetaArray[] = []

Gets an array of meta arrays sorted by chronological order.

notificationData: null | NotificationData = null
notificationId: string
priority: NotificationPriority
updatedAt: number = 0

The updated time of the message in milliseconds.

Methods

  • Parameters

    • message: default

    Returns boolean

  • Returns this is FileMessage

  • Parameters

    Returns boolean

  • Returns this is UserMessage

  • Returns object

Generated using TypeDoc