ChatMessageADT
io.github.positionpal.message.ChatMessageADT
object ChatMessageADT
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ChatMessageADT.type
Members list
Type members
Classlikes
Represents the data that a ChatMessage exposes
Represents the data that a ChatMessage exposes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Return a new ChatMessage
Return a new ChatMessage
Type parameters
- I
-
The identifier type of the client
- T
-
The identifier type of the group
Value parameters
- from
-
The client that sent the message
- text
-
The content of the message
- to
-
The group that received the message
Attributes
- Returns
-
a ChatMessage instance
Return a new ChatMessage with the timestamp set on the creation time
Return a new ChatMessage with the timestamp set on the creation time
Type parameters
- I
-
The identifier type of the client
- T
-
The identifier type of the group
Value parameters
- from
-
The client that sent the message
- text
-
The content of the message
- to
-
The group that received the message
Attributes
- Returns
-
a ChatMessage instance
In this article