postMessage

Triggers the post event with the message, and also renders it inside the widget.

Parameters

message String

The text to send and render.

Example

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

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

    chat.postMessage("Hello!");
</script>
In this article
Not finding the help you need? Improve this article