initGroupedQueryChannelsAsState
Creates a QueryChannelsState for the given grouped identifier without triggering a remote queryChannels API call. Channels cached under the identifier's DB key are loaded optimistically so the UI can render immediately while the next queryGroupedChannels response populates the state via the listener.
Only QueryChannelsIdentifier.Grouped is accepted — the standard offset-paginated path is served by queryChannelsAsState instead.
Return
A StateFlow that emits null until the user is connected, then emits the QueryChannelsState for the identifier.
Parameters
The grouped query's identifier whose state should be initialized.
The factory used to create the ChatEventHandler that routes events into this grouped list. Defaults to a group-aware factory keyed on identifier.
The CoroutineScope used for executing the request.