Hello manuel valle,
Thank you for reaching out in Apple Support Communities. Are you referring to pinned contacts from the Messages app not appearing when selecting a Share menu? Here's an illustration by using Safari:

This example is outlined here: Browse the web using Safari on iPhone - Apple Support
If you are referring to pinned contacts not appearing when you tap on the Share menu, then this would be expected behavior. Pinned contacts will not always appear as your suggestions. You can provide feedback about this to Apple by visiting this link here: Product Feedback - Apple
Now if we misunderstood, please provide the community additional details. This way the community can gain a better understanding to provide you the best support.
Best regards.