ChannelCustomizable

ChannelCustomizable

Abstract class that can be extended by message objects that support channel extensions

Constructor

new ChannelCustomizable()

Source:

Methods

deserializeNestedProperties()

Description:
  • Deserialize nested object properties into corresponding class instances
Source:

getChannelExtensionProperty(channelType, propertyName) → {any}

Description:
  • Get the value of a channel extension property
Source:
Parameters:
Name Type Description
channelType ChannelType The channel type.
propertyName string The name of the property.
Returns:
The property value
Type
any

getChannelExtensions() → {ChannelExtensions}

Description:
  • Gets the channel extensions
Source:
Returns:
The channel extensions
Type
ChannelExtensions

setChannelExtensionProperty(channelType, propertyName, propertyValue)

Description:
  • Sets a channel-specific extension property
Source:
Parameters:
Name Type Description
channelType ChannelType The channel type.
propertyName string The name of the property.
propertyValue any The value of the property.
Returns:
The current instance of this class.