getUser

Gets the user info associated with the chat instance

Returns

Object the object with the user info. Contains the auto-generated id, name and iconUrl.

Example

<div id="chat"></div>
<script>
    $("#chat").kendoChat();

    var chat = $("#chat").data("kendoChat");

    console.log(chat.getUser().name);
</script>
In this article
Not finding the help you need? Improve this article