Defines the fluent API for configuring ChatPinnedMessage
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChatPinnedMessageBuilder
Inheritance: objectChatPinnedMessageBuilder
Inherited Members
Constructors
Initializes a new instance of the ChatPinnedMessageBuilder class.
public ChatPinnedMessageBuilder(ChatPinnedMessage container)
Properties
The Container for the ChatPinnedMessage
protected ChatPinnedMessage Container { get; }
Methods
The author's unique identifier.
public ChatPinnedMessageBuilder AuthorId(string value)
The value for AuthorId
Returns:Returns the current ChatPinnedMessageBuilder instance.
The alternative text that will be displayed if no image is present.
public ChatPinnedMessageBuilder AuthorImageAltText(string value)
The value for AuthorImageAltText
Returns:Returns the current ChatPinnedMessageBuilder instance.
The author's image.
public ChatPinnedMessageBuilder AuthorImageUrl(string value)
The value for AuthorImageUrl
Returns:Returns the current ChatPinnedMessageBuilder instance.
The author's name.
public ChatPinnedMessageBuilder AuthorName(string value)
The value for AuthorName
Returns:Returns the current ChatPinnedMessageBuilder instance.
Sets the attached files to the message.
public ChatPinnedMessageBuilder Files(IEnumerable<ChatFile> files)
The unique identifier of the message.
public ChatPinnedMessageBuilder Id(string value)
The value for Id
Returns:Returns the current ChatPinnedMessageBuilder instance.
Checks if the message is deleted.
public ChatPinnedMessageBuilder IsDeleted(bool value)
The value for IsDeleted
Returns:Returns the current ChatPinnedMessageBuilder instance.
Checks Whether this message belongs to the current user.
public ChatPinnedMessageBuilder IsOwnMessage(bool value)
The value for IsOwnMessage
Returns:Returns the current ChatPinnedMessageBuilder instance.
The pin mode of the message.
public ChatPinnedMessageBuilder IsPinned(bool value)
The value for IsPinned
Returns:Returns the current ChatPinnedMessageBuilder instance.
The text of the message.
public ChatPinnedMessageBuilder Text(string value)
The value for Text
Returns:Returns the current ChatPinnedMessageBuilder instance.