Class ChannelUtilsKt
-
- All Implemented Interfaces:
public final class ChannelUtilsKt
-
-
Method Summary
Modifier and Type Method Description final static StringgenerateChannelIdIfNeeded(String channelId, List<String> memberIds)Generates the channel id based on the member ids if provided channelId is empty. -
-
Method Detail
-
generateChannelIdIfNeeded
final static String generateChannelIdIfNeeded(String channelId, List<String> memberIds)
Generates the channel id based on the member ids if provided channelId is empty. Member-based id should only be used for creating distinct channels. Created member-based id might differ from the one created by the server if the channel already exists and was created with different members order.
- Parameters:
channelId- The channel id.memberIds- The list of members' ids.
-
-
-
-