FivePD API
Interfaces

IMessageService

Responsible for text communication between players.

Methods

Send

Sends a message to a player.

Parameters

NameTypeDescription
toUserThe user to send the message to.
subjectstringThe subject of the message.
contentstringThe content of the message.
senderstringThe sender of the message. If left empty the addon's assembly name will be used.

Returns

NameType
MessageThe that was sent.

Send

Sends a message to a player.

Parameters

NameTypeDescription
toPlayerThe user to send the message to.
subjectstringThe subject of the message.
contentstringThe content of the message.
senderstringThe sender of the message. If left empty the addon's assembly name will be used.

Returns

NameType
MessageThe that was sent.

On this page