Need Lua Module help for getting name

I am working on Lua module recording chat messages to file. Group chat messages are no problem.
I have managed to partially implement for private messages, I can get message sender name, message and receiver’s ID.
Need help how can I get receiver ID? See below:
I can get To filed as
how can i get matching name?
my hook is as follows:
module:hook(“message/full”, function(event)
local stanza = event.stanza;
if ( == “message” and tostring(stanza.attr.type) == “chat” ) then
if (stanza:get_child(“body”)) ~= nil then

module:log(‘info’, 'Private Msg: ’ … stanza:get_child(“body”):get_text()… ’ From: ’ … … ’ To: ’ …;