A 1 to 1 channel is technically a Group Channel with just two users. Therefore, you can simply check if a channel is 1:1 with something like:
if (channel.getMemberCount() == 2) // channel is 1:1
A 1 to 1 channel is technically a Group Channel with just two users. Therefore, you can simply check if a channel is 1:1 with something like:
if (channel.getMemberCount() == 2) // channel is 1:1