-
- All Implemented Interfaces:
-
io.getstream.chat.android.offline.experimental.plugin.QueryReference
public final class QueryChannelReference implements QueryReference<Channel, ChannelState>
Reference for the ChatClient.queryChannel request.
-
-
Method Summary
Modifier and Type Method Description Call<Channel>get()Returns a call of the channel type representing output value of ChatClient.queryChannel. ChannelStateasState(CoroutineScope scope)Returns ChannelState for combination of channelType and channelId. -
-
Method Detail
-
get
Call<Channel> get()
Returns a call of the channel type representing output value of ChatClient.queryChannel.
-
asState
ChannelState asState(CoroutineScope scope)
Returns ChannelState for combination of channelType and channelId. And fill it by data from ChatClient.queryChannel.
- Parameters:
scope- Coroutine scope where initial data filling action is being invoked.
-
-
-
-