-
- All Implemented Interfaces:
-
so.kontext.ads.domain.MessageRepresentable
public final class AdsMessage implements MessageRepresentable
Convenience type that already represents a message. This can be useful if conforming to
MessageRepresentabledirectly is not desired.
-
-
Constructor Summary
Constructors Constructor Description AdsMessage(String id, Role role, String content, String createdAt)
-
Method Summary
Modifier and Type Method Description StringgetId()RolegetRole()StringgetContent()StringgetCreatedAt()-
-
Method Detail
-
getContent
String getContent()
-
getCreatedAt
String getCreatedAt()
-
-
-
-