isDirectMessaging

Checks if the channel is a direct messaging channel.

For a channel to be considered as direct messaging, it must satisfy two conditions:

  1. It should have exactly two members.

  2. One of the members must be the current user.