Table of Contents

Class StoryMessage

Namespace
Signal.Domain.Messaging
Assembly
Signal.Domain.dll

A story posted by the sender, either to their contacts or to a group.

public sealed record StoryMessage : IEquatable<StoryMessage>
Inheritance
StoryMessage
Implements
Inherited Members

Remarks

Only received when Receive:IgnoreStories is false. Stories never run commands.

Constructors

StoryMessage(bool, GroupId?)

A story posted by the sender, either to their contacts or to a group.

public StoryMessage(bool AllowsReplies, GroupId? Group)

Parameters

AllowsReplies bool

Whether the story accepts replies.

Group GroupId?

The group the story was posted to, or null for a story to the sender's contacts.

Remarks

Only received when Receive:IgnoreStories is false. Stories never run commands.

Properties

AllowsReplies

Whether the story accepts replies.

public bool AllowsReplies { get; init; }

Property Value

bool

File

The image or video of a media story; null for a text story.

public Attachment? File { get; init; }

Property Value

Attachment

Group

The group the story was posted to, or null for a story to the sender's contacts.

public GroupId? Group { get; init; }

Property Value

GroupId?

Text

The text of a text story; null for a media story.

public string? Text { get; init; }

Property Value

string