selectMention

fun selectMention(user: User)

Autocompletes the current text input with the mention from the selected user.

Parameters

user

The user that is used to autocomplete the mention.


fun selectMention(mention: Mention)

Autocompletes the current text input with the mention from the selected mention.

IMPORTANT: The SDK supports only user mentions (see Mention.User). Custom mentions are purely visual, and will not be submitted to the server.

Parameters

mention

The mention that is used for the autocomplete.