library / io.getstream.chat.android.livedata.usecase / KeystrokeImpl

KeystrokeImpl

class KeystrokeImpl : Keystroke

Constructors

<init>

KeystrokeImpl(domainImpl: ChatDomainImpl)

Properties

domainImpl

var domainImpl: ChatDomainImpl

Functions

invoke

Keystroke should be called whenever a user enters text into the message input It automatically calls stopTyping when the user stops typing after 5 seconds

operator fun invoke(cid: String): Call2<Boolean>