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
TypeMaybe<ChannelType>The channel type.
UserMaybe<string>The user ID of the member that this member can send messages to.
NumberMaybe<string>The phone number of the member that this member can send messages to.
IdMaybe<string>The Id.
Properties
Id
The Id.
[JsonConverter(typeof(MaybeJsonConverter<string>))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Maybe<string> Id { get; init; }
Property Value
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
Type
The channel type.
[JsonConverter(typeof(MaybeJsonConverter<ChannelType>))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Maybe<ChannelType> Type { get; init; }
Property Value
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; }