Telegram has not given any private data to any government. They have been banned (that didn't stop them tho) for this.
Whatsapp backsups are strongly encouraged by the app on a frequent basis. You cannot control the backup settings for your contacts. Therefore almost every group is backed up to google drive. Google has allegedly given this data to the authorities because these chats have leaked in a popular case here in India.
https://www.thenewsminute.com/article/how-ncb-retrieved-what...
https://www.indiatoday.in/technology/news/story/bollywood-wh...