New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring ChatPinnedMessage

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChatPinnedMessageBuilder

Inheritance: objectChatPinnedMessageBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ChatPinnedMessageBuilder class.

C#
public ChatPinnedMessageBuilder(ChatPinnedMessage container)
Parameters:containerChatPinnedMessage

Properties

The Container for the ChatPinnedMessage

C#
protected ChatPinnedMessage Container { get; }

Methods

The author's unique identifier.

C#
public ChatPinnedMessageBuilder AuthorId(string value)
Parameters:valuestring

The value for AuthorId

Returns:

ChatPinnedMessageBuilder

Returns the current ChatPinnedMessageBuilder instance.

The alternative text that will be displayed if no image is present.

C#
public ChatPinnedMessageBuilder AuthorImageAltText(string value)
Parameters:valuestring

The value for AuthorImageAltText

Returns:

ChatPinnedMessageBuilder

Returns the current ChatPinnedMessageBuilder instance.

The author's image.

C#
public ChatPinnedMessageBuilder AuthorImageUrl(string value)
Parameters:valuestring

The value for AuthorImageUrl

Returns:

ChatPinnedMessageBuilder

Returns the current ChatPinnedMessageBuilder instance.

The author's name.

C#
public ChatPinnedMessageBuilder AuthorName(string value)
Parameters:valuestring

The value for AuthorName

Returns:

ChatPinnedMessageBuilder

Returns the current ChatPinnedMessageBuilder instance.

Sets the attached files to the message.

C#
public ChatPinnedMessageBuilder Files(IEnumerable<ChatFile> files)
Parameters:filesIEnumerable<ChatFile>Returns:

ChatPinnedMessageBuilder

The unique identifier of the message.

C#
public ChatPinnedMessageBuilder Id(string value)
Parameters:valuestring

The value for Id

Returns:

ChatPinnedMessageBuilder

Returns the current ChatPinnedMessageBuilder instance.

Checks if the message is deleted.

C#
public ChatPinnedMessageBuilder IsDeleted(bool value)
Parameters:valuebool

The value for IsDeleted

Returns:

ChatPinnedMessageBuilder

Returns the current ChatPinnedMessageBuilder instance.

Checks Whether this message belongs to the current user.

C#
public ChatPinnedMessageBuilder IsOwnMessage(bool value)
Parameters:valuebool

The value for IsOwnMessage

Returns:

ChatPinnedMessageBuilder

Returns the current ChatPinnedMessageBuilder instance.

The pin mode of the message.

C#
public ChatPinnedMessageBuilder IsPinned(bool value)
Parameters:valuebool

The value for IsPinned

Returns:

ChatPinnedMessageBuilder

Returns the current ChatPinnedMessageBuilder instance.

The text of the message.

C#
public ChatPinnedMessageBuilder Text(string value)
Parameters:valuestring

The value for Text

Returns:

ChatPinnedMessageBuilder

Returns the current ChatPinnedMessageBuilder instance.