TypingIndicatorViewModelFactory
class TypingIndicatorViewModelFactory(cid: String, chatClient: ChatClient = ChatClient.instance(), messageId: String? = null) : ViewModelProvider.Factory
A ViewModel factory for TypingIndicatorViewModel.
Parameters
cid
The channel id in the format messaging:123.
chatClient
The ChatClient instance.
messageId
The id of the message we wish to focus to. Used to limit the number of channel queries as well.