Skip to main content
All docs
V25.2
  • ChatBuilder.User(Action<UserBuilder>) Method

    Specifies the current chat user (messages displayed on the right side). Mirrors the client-side user option.

    Namespace: DevExtreme.AspNet.Mvc.Builders

    Assembly: DevExtreme.AspNet.Core.dll

    Declaration

    public ChatBuilder User(
        Action<UserBuilder> configurator
    )

    Parameters

    Name Type Description
    configurator Action<UserBuilder>

    A function that allows you to configure the current user.

    Returns

    Type Description
    ChatBuilder

    A reference to this instance after the method is called.

    See Also