postMessage

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

Parameters

message String

The text that will be sent and rendered.

Example

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

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

    chat.postMessage("Hello!");
</script>
In this article