Chat HtmlHelper Overview

The Telerik UI Chat HtmlHelper 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 HtmlHelper.

    // The name of the Chat is mandatory.
    // It specifies the "id" and the "name" attributes of the widget.

Basic Configuration

The following example demonstrates the available configuration options supported by the Chat HtmlHelper.

        // The user configuration of the Chat.
        .User(u => u
            .Name("ChatBot Name")
        // Attach the event handlers.
        .Events(e => e
        // Configure the placeholder message.
        .Messages(m => m
            .Placeholder("Type your message")

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