extract channel, callback , error from pnmessage