Namespace Signal.Domain.Messaging
Classes
- Attachment
Metadata of a received attachment. Download the content through the attachment service by Id.
- CallMessage
A voice or video call event. Signal.NET can't take calls, so this is for reacting to them, e.g. replying "I'm a bot and can't take calls".
- DataMessage
The content of a regular (data) message: text, attachments, reactions, quotes and group context.
- EditMessage
An edit of an earlier message. Signal only lets authors edit their own messages, so the edited message is identified by TargetTimestamp together with the envelope's sender.
- IncomingEnvelope
Aggregate root for everything received from Signal. Knows which conversation it belongs to and which domain event it represents.
- LinkPreview
A link preview card shown above the message text. Signal clients only render it if Url appears in the text, which Build() enforces.
- Mention
A mention of a user inside a message body.
- OutgoingMessage
An immutable, validated message to send. Build it with Create() or To(params IEnumerable<Recipient>) and the fluent OutgoingMessageBuilder.
- OutgoingMessageBuilder
Fluent builder for OutgoingMessage. Validation happens in Build().
- Quote
A quoted (replied-to) message.
- Reaction
An emoji reaction to a message, or the removal of one.
- ReceiptMessage
A delivery, read or viewed receipt for previously sent messages.
- RemoteDelete
A request to delete a message for everyone. Signal only lets authors delete their own messages, so the deleted message is identified by TargetTimestamp together with the envelope's sender.
- Sender
The originator of a received envelope.
- SentTranscript
A copy of a message the receiving account sent from one of its other devices (for example the phone), delivered as a sync message. The envelope's sender is the account itself; Conversation says where the message went.
- StoryMessage
A story posted by the sender, either to their contacts or to a group.
- StyledRange
A styled range of a received message's text.
- TypingMessage
A typing indicator.
Structs
- EnvelopeContent
What an envelope carries: exactly one of a DataMessage, an EditMessage, a SentTranscript, a StoryMessage, a CallMessage, a ReceiptMessage or a TypingMessage. Signal envelopes never combine them, and the union makes that impossible to violate.
- Sticker
A sticker from an installed sticker pack, written as
packId:stickerId(e.g.f3a9…:4). Implements IParsable<TSelf>, so command arguments can bind to it.
Enums
- CallEventKind
What happened in a call signalling message.
- ReceiptType
The kind of a receipt.
- TextMode
How the text of an outgoing message is interpreted.
- TextStyle
A formatting style applied to a range of a received message's text.
- TypingAction
State of a typing indicator.