Class MemberChannel
- Namespace
- Vonage.Conversations
- Assembly
- Vonage.dll
Represents a channel.
public record MemberChannel : IEquatable<MemberChannel>
- Inheritance
-
MemberChannel
- Implements
- Inherited Members
Constructors
MemberChannel(ChannelType, MemberChannelFrom, MemberChannelToV)
Represents a channel.
public MemberChannel(ChannelType Type, MemberChannelFrom From, MemberChannelToV To)
Parameters
TypeChannelTypeThe channel type.
FromMemberChannelFromWhich channel types this member accepts messages from (if not set, all are accepted)
ToMemberChannelToVSettings which control who this member can send messages to.
Properties
From
Which channel types this member accepts messages from (if not set, all are accepted)
public MemberChannelFrom From { get; init; }
Property Value
To
Settings which control who this member can send messages to.
public MemberChannelToV To { get; init; }
Property Value
Type
The channel type.
[JsonConverter(typeof(EnumDescriptionJsonConverter<ChannelType>))]
public ChannelType Type { get; init; }