tryToChangeEnableInputView

open fun tryToChangeEnableInputView(enabled: Boolean, @NonNull hintText: String): Boolean

Enables or disables the input view with hint text. If the user's status is not allowed to send messages, the enable value cannot be changed.

Return

true if the enable setting is reflected, false otherwise since 3.17.0

Parameters

enabled

true if the input view is enabled, false otherwise

hintText

The hint text to be displayed