Package io.getstream.chat.java.models
Class ChannelType
java.lang.Object
io.getstream.chat.java.models.ChannelType
- Direct Known Subclasses:
ChannelType.ChannelTypeWithCommands,ChannelType.ChannelTypeWithStringCommands
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enumstatic enumstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ChannelType
public ChannelType()
-
-
Method Details
-
create
Creates an create request- Returns:
- the created request
-
get
Creates a get request- Parameters:
name- the channel type name- Returns:
- the created request
-
update
@NotNull public static ChannelType.ChannelTypeUpdateRequestData.ChannelTypeUpdateRequest update(@NotNull String name) Creates an update request- Parameters:
name- the name of the channel type to update- Returns:
- the created request
-
delete
Creates a delete request- Parameters:
name- the channel type name- Returns:
- the created request
-
list
Creates a list request- Returns:
- the channel types in a map
- Throws:
StreamException- when IO problem occurs or the stream API return an error
-