CommunicationMessagesChannel Class

public final class CommunicationMessagesChannel
extends ExpandableStringEnum<CommunicationMessagesChannel>

The type of the communication messages channel.

Field Summary

Modifier and Type Field and Description
static final CommunicationMessagesChannel WHATS_APP

The WhatsApp communication messages channel type.

Constructor Summary

Constructor Description
CommunicationMessagesChannel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CommunicationMessagesChannel value.

Method Summary

Modifier and Type Method and Description
static CommunicationMessagesChannel fromString(String name)

Creates or finds a CommunicationMessagesChannel from its string representation.

static Collection<CommunicationMessagesChannel> values()

Gets known CommunicationMessagesChannel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

WHATS_APP

public static final CommunicationMessagesChannel WHATS_APP

The WhatsApp communication messages channel type.

Constructor Details

CommunicationMessagesChannel

@Deprecated
public CommunicationMessagesChannel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CommunicationMessagesChannel value.

Method Details

fromString

public static CommunicationMessagesChannel fromString(String name)

Creates or finds a CommunicationMessagesChannel from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CommunicationMessagesChannel.

values

public static Collection values()

Gets known CommunicationMessagesChannel values.

Returns:

known CommunicationMessagesChannel values.

Applies to