def pinned_messages(self) -> PinnedMessagesRequestBuilder:
        """
        Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity.
        """
        from .pinned_messages.pinned_messages_request_builder import PinnedMessagesRequestBuilder

        return PinnedMessagesRequestBuilder(self.request_adapter, self.path_parameters)

        Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity.
        
msgraph/generated/chats/item/chat_item_request_builder.py