Padloc Logo Docs & Resources

Class: Message<T>

messenger.Message

A message to be sent to a user

Type parameters

Name Type
T extends MessageData

Hierarchy

Constructors

constructor

new Message<T>(data)

Type parameters

Name Type
T extends MessageData

Parameters

Name Type
data T

Defined in

core/src/messenger.ts:13

Properties

data

Readonly data: T


template

Readonly Abstract template: string

Template name

Defined in

core/src/messenger.ts:11

Accessors

title

Abstract get title(): string

Message title

Returns

string

Defined in

core/src/messenger.ts:8