Mediation analysis for two correlated mediators

Hey people,
I am trying to find an appropriate mediation analysis method.
I want to investigate how an INTERACTION of two variables mediates the association of two different variables. I have read about mediation analysis with one or multiple mediators, but nothing about an interaction as the mediator.
For the analysis I use RStudio. I know that there is a package "mediation", but I don't know which analysis to use.
I am very thankful for your help!!!


Less is more. Stay pure. Stay poor.
Can you help use out by included variable labels so we can make sure we follow:

X1 -> Y,

Mediated by a M1 * M2 variable combination.

Does this seem right?

Also, how are these variable formatted, binary, categorical, continuous?
Thanks for your fast reply! Yes, you understood it right.
Actually I planned to analyze 2 different models:
1) X (dichotomous) -> M1 * M2 (both continuous) -> Y (dichotomous)
2) X (continuous) -> M1 * M2 (both continuous) -> Y (continuous)