Skip to main content

Interface: CustomNotificationParams

types/notification.CustomNotificationParams

CustomNotificationParams interface

Properties

description

description: string

A description for the notification

Defined in

types/notification.ts:26


embed

Optional embed: SCEmbedType

Embed obj.

Defined in

types/notification.ts:18


recipients_type

Optional recipients_type: string

Can be 'connections' or 'user' (default is 'conections')

Defined in

types/notification.ts:10


title

title: string

A title for the notification

Defined in

types/notification.ts:22


type

Optional type: string

An optional custom string to differentiate notifications

Defined in

types/notification.ts:14


user

user: number

The user who issues the notification(its ID)

Defined in

types/notification.ts:30