def hosted_contents(self) -> HostedContentsRequestBuilder:
        """
        Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity.
        """
        from .hosted_contents.hosted_contents_request_builder import HostedContentsRequestBuilder

        return HostedContentsRequestBuilder(self.request_adapter, self.path_parameters)

        Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity.
        
msgraph/generated/chats/item/messages/item/chat_message_item_request_builder.py