By the way that's a really horrible feature of Android (don't know about iOS). I never gave permission to any app that it could be aware of my screenshots, and yet one of my contacts asked why I screenshotted their message. That's not the business of apps to know, at least without permission first.
Why does it matter why I was screenshotting someone's message? It's on my phone. Screenshots are a function of the OS, and not the application's business.