Chat Android v4
Chat Android
Chat
Android
Version 4
Home
/
Chat
/
Android
/
Channel
When creating an open channel or a group channel, you can additionally specify a custom channel type to subclassify channels. This custom type takes on the form of String
, and can be useful in searching or filtering channels.
The data
and customType
properties of a channel object allow you to append information to channels. While both properties can be used flexibly, common examples for customType
include categorizing channels as "School" or "Work".
To get an open channel's custom type, read the openChannel.customType
property.
To get a group channel's custom type, read the groupChannel.customType
property.