allUserChannels
Get all channels the user is owner, a member of or invited to.
This property provides a list of Channel objects, representing all channels that the user is associated with. This includes:
Channels the user owns (allOwnedChannels).
Channels the user has subscribed to (allSubscribedChannels).
Channels with pending membership requests (allPendingChannels).
Behavior:
The list is automatically updated with the latest information each time it is accessed, reflecting changes from allChannels, such as new memberships or updates to the user's channels.
Usage:
This property can be used to display or manage all channels the user is involved with, such as rendering the list of channels in a UI component or applying filters based on the user's role (owner, member, or subscriber).
Return
A List of Channel objects, representing all channels the user is a member of, has subscribed to, or is invited to, based on the current state.