Interface IBuilderForChannel
- Namespace
- Vonage.Conversations.CreateMember
- Assembly
- Vonage.dll
Represents a builder for Channel.
public interface IBuilderForChannel
Methods
WithApp(string, params ChannelType[])
Sets the App channel on the builder.
IBuilderForOptional WithApp(string userId, params ChannelType[] types)
Parameters
userIdstringThe user Id.
typesChannelType[]The list of channels.
Returns
- IBuilderForOptional
The builder.
WithMessenger(string, params ChannelType[])
Sets the Messenger channel on the builder.
IBuilderForOptional WithMessenger(string id, params ChannelType[] types)
Parameters
idstringThe id.
typesChannelType[]The list of channels.
Returns
- IBuilderForOptional
The builder.
WithMms(string, params ChannelType[])
Sets the MMS channel on the builder.
IBuilderForOptional WithMms(string number, params ChannelType[] types)
Parameters
numberstringThe number.
typesChannelType[]The list of channels.
Returns
- IBuilderForOptional
The builder.
WithPhone(string, params ChannelType[])
Sets the Phone channel on the builder.
IBuilderForOptional WithPhone(string number, params ChannelType[] types)
Parameters
numberstringThe number.
typesChannelType[]The list of channels.
Returns
- IBuilderForOptional
The builder.
WithSms(string, params ChannelType[])
Sets the SMS channel on the builder.
IBuilderForOptional WithSms(string number, params ChannelType[] types)
Parameters
numberstringThe number.
typesChannelType[]The list of channels.
Returns
- IBuilderForOptional
The builder.
WithViber(string, params ChannelType[])
Sets the Viber channel on the builder.
IBuilderForOptional WithViber(string id, params ChannelType[] types)
Parameters
idstringThe id.
typesChannelType[]The list of channels.
Returns
- IBuilderForOptional
The builder.
WithWhatsApp(string, params ChannelType[])
Sets the WhatsApp channel on the builder.
IBuilderForOptional WithWhatsApp(string number, params ChannelType[] types)
Parameters
numberstringThe number.
typesChannelType[]The list of channels.
Returns
- IBuilderForOptional
The builder.