Sonia Gandhi said she agreed to write the memoir following repeated encouragement from Rahul Gandhi, Priyanka Gandhi and a close friend, Manjulika Dubey.