OnItemAddedToContainer SendMessage and RenameSolved

I can't figure out how to send message in OnItemAddedToContainer Hook how can I use player.Reply("") and I need the IPlayer for renaming.
or is there another solution?

ok this works for me

IPlayer player = container?.playerOwner?.IPlayer;​
Locked automatically