def by_pinned_chat_message_info_id(self,pinned_chat_message_info_id: str) -> PinnedChatMessageInfoItemRequestBuilder:
        """
        Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity.
        param pinned_chat_message_info_id: The unique identifier of pinnedChatMessageInfo
        Returns: PinnedChatMessageInfoItemRequestBuilder
        """
        if pinned_chat_message_info_id is None:
            raise TypeError("pinned_chat_message_info_id cannot be null.")
        from .item.pinned_chat_message_info_item_request_builder import PinnedChatMessageInfoItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["pinnedChatMessageInfo%2Did"] = pinned_chat_message_info_id
        return PinnedChatMessageInfoItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity.
        param pinned_chat_message_info_id: The unique identifier of pinnedChatMessageInfo
        Returns: PinnedChatMessageInfoItemRequestBuilder
        
msgraph/generated/chats/item/pinned_messages/pinned_messages_request_builder.py