Class Member
- Namespace
- Vonage.Conversations
- Assembly
- Vonage.dll
Represents a member.
public record Member : IEquatable<Member>
- Inheritance
-
Member
- Implements
- Inherited Members
Constructors
Member(string, string, string, string, string, MemberChannel, MemberEmbedded, MemberTimestamp, MemberInitiator, MemberMedia, HalLink)
Represents a member.
public Member(string Id, string ConversationId, string State, string KnockingId, string InvitedBy, MemberChannel Channel, MemberEmbedded Embedded, MemberTimestamp Timestamp, MemberInitiator Initiator, MemberMedia Media, HalLink Links)
Parameters
IdstringThe member Id.
ConversationIdstringThe conversation Id.
StatestringThe state that the member is in. Possible values are INVITED, JOINED, LEFT, or UNKNOWN.
KnockingIdstringInvitedBystringChannelMemberChannelEmbeddedMemberEmbeddedTimestampMemberTimestampThe member timestamps.
InitiatorMemberInitiatorMediaMemberMediaLinksHalLink
Properties
Channel
public MemberChannel Channel { get; init; }
Property Value
ConversationId
The conversation Id.
public string ConversationId { get; init; }
Property Value
Embedded
[JsonPropertyName("_embedded")]
public MemberEmbedded Embedded { get; init; }
Property Value
Id
The member Id.
public string Id { get; init; }
Property Value
Initiator
public MemberInitiator Initiator { get; init; }
Property Value
InvitedBy
public string InvitedBy { get; init; }
Property Value
KnockingId
public string KnockingId { get; init; }
Property Value
Links
[JsonPropertyName("_links")]
public HalLink Links { get; init; }
Property Value
Media
public MemberMedia Media { get; init; }
Property Value
State
The state that the member is in. Possible values are INVITED, JOINED, LEFT, or UNKNOWN.
public string State { get; init; }
Property Value
Timestamp
The member timestamps.
public MemberTimestamp Timestamp { get; init; }