messages.pinnedMessageCloseButtonString
(default: "Unpin message")
The title and aria-label for the button that unpins a pinned message.
Example
<div id="chat"></div>
<script>
let messagesData = [
{
id: 1,
text: "This is an important message that was pinned.",
authorId: "support",
authorName: "Support Agent",
timestamp: new Date(2026, 0, 1, 9, 0),
isPinned: true
}
];
$("#chat").kendoChat({
messages: {
pinnedMessageCloseButton: "Remove pin"
},
authorId: "user",
dataSource: messagesData
});
</script>
In this article