TextMessage<TAddress>

View as MarkdownOpen in Claude

Text message from conversation Contains a reference to the sender address as an observable

Remarks

Uses a generic type parameter to maintain type safety while avoiding circular dependencies. The Address class provides the concrete type.

Type Parameters

Type ParameterDefault typeDescription
TAddressneverThe Address type, provided by the implementation

Properties

created
numberRequired

Wall-clock timestamp (ms since epoch) when the message was created.

fromAddress$
Observable<TAddress> | undefined

Observable of the sender address for this text message, if known.

id
stringRequired

Unique ID of the message.

text
stringRequired

Message body text.