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
Properties
data
• Readonly
data: T
template
• Readonly
Abstract
template: string
Template name
Defined in
Accessors
title
• Abstract
get
title(): string
Message title
Returns
string