Class StoryMessage
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
AllowsRepliesboolWhether the story accepts replies.
GroupGroupId?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
File
The image or video of a media story; null for a text story.
public Attachment? File { get; init; }
Property Value
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
Text
The text of a text story; null for a media story.
public string? Text { get; init; }