Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NotificationData

Additional data related to a notification.

export
interface

NotificationData

Hierarchy

  • NotificationData

Index

Properties

Properties

Optional channelId

channelId: number

64 bit integer identifier associated with the channel this notification is related to. Present if SYSTEM:SENT:MESSAGE, or USER:SENT:MESSAGE.

memberof

NotificationData

Optional message

message: Message

The message this notification is related to. Present if SYSTEM:SENT:MESSAGE, or USER:SENT:MESSAGE.

memberof

NotificationData

type

The type of notification that was received. This specifies the schema of the notification data.

memberof

NotificationData

Generated using TypeDoc, the 9/1/2021 at 5:54:10 AM