Chat TagHelper Overview

The Telerik UI Chat TagHelper for ASP.NET Core is a server-side wrapper for the Kendo UI Chat widget.

The Chat allows the user to participate in chat sessions with other users or with chat bots. It provides support for default cards and actions, and enables the configuration of custom templates and custom components.

Initializing the Chat

The following example demonstrates how to define the Chat by using the Chat TagHelper.

<kendo-chat name="chat"></kendo-chat>

Basic Configuration

The following example demonstrates the configuration options that are available for the Chat TagHelper.

    <!-- Initializing the Chat and attaching the event handlers -->
    <kendo-chat name="chat"
                on-post="onPost"
                on-action-click="onActionClick"
                on-send-message="onSendMessage"
                on-typing-start="onTypingStart"
                on-typing-end="onTypingEnd">
        <!-- The Chat User configuration -->
        <user name="ChatBot Name"
              icon-url="https://demos.telerik.com/kendo-ui/content/chat/avatar.png" />
        <!-- Configuring the Placeholder message -->
        <messages placeholder="Type your message" />
    </kendo-chat>

Functionality and Features

The Chat provides an option for creating a Peer-to-Peer Chat application by using SignalR.

See Also

In this article
Not finding the help you need? Improve this article