Class RtcNotificationContent
Content of RtcNotification: a call started, ringing the others' devices for Lifetime.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record RtcNotificationContent : IEquatable<RtcNotificationContent>
Properties
| Edit this page View SourceCallIntent
The call's intent, audio or video.
Declaration
[JsonPropertyName("m.call.intent")]
public string? CallIntent { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Lifetime
Milliseconds it rings for.
Declaration
public long Lifetime { get; init; }
Property Value
| Type | Description |
|---|---|
| long |
Mentions
Who is notified; the whole room in a direct chat.
Declaration
[JsonPropertyName("m.mentions")]
public Mentions? Mentions { get; init; }
Property Value
| Type | Description |
|---|---|
| Mentions |
NotificationType
ring to ring, notification to only notify.
Declaration
public required string NotificationType { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
RelatesTo
The caller's membership event, as a reference.
Declaration
[JsonPropertyName("m.relates_to")]
public Relation? RelatesTo { get; init; }
Property Value
| Type | Description |
|---|---|
| Relation |
SenderTs
When the caller sent it, by its clock, in milliseconds since the epoch.
Declaration
public long SenderTs { get; init; }
Property Value
| Type | Description |
|---|---|
| long |
SlotId
The call's slot, m.call#ROOM.
Declaration
public string? SlotId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |