Table of Contents

Class MemberChannelToV

Namespace
Vonage.Conversations
Assembly
Vonage.dll

Represents the destination channel.

public record MemberChannelToV : IEquatable<MemberChannelToV>
Inheritance
MemberChannelToV
Implements
Inherited Members

Constructors

MemberChannelToV(Maybe<ChannelType>, Maybe<string>, Maybe<string>, Maybe<string>)

Represents the destination channel.

public MemberChannelToV(Maybe<ChannelType> Type, Maybe<string> User, Maybe<string> Number, Maybe<string> Id)

Parameters

Type Maybe<ChannelType>

The channel type.

User Maybe<string>

The user ID of the member that this member can send messages to.

Number Maybe<string>

The phone number of the member that this member can send messages to.

Id Maybe<string>

The Id.

Properties

Id

The Id.

[JsonConverter(typeof(MaybeJsonConverter<string>))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Maybe<string> Id { get; init; }

Property Value

Maybe<string>

Number

The phone number of the member that this member can send messages to.

[JsonConverter(typeof(MaybeJsonConverter<string>))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Maybe<string> Number { get; init; }

Property Value

Maybe<string>

Type

The channel type.

[JsonConverter(typeof(MaybeJsonConverter<ChannelType>))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Maybe<ChannelType> Type { get; init; }

Property Value

Maybe<ChannelType>

User

The user ID of the member that this member can send messages to.

[JsonConverter(typeof(MaybeJsonConverter<string>))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Maybe<string> User { get; init; }

Property Value

Maybe<string>