Germany announced Monday that the messaging app Telegram was fined a total of more than $5 million for violating laws requiring that social networking platforms provide channels to report posts with criminal content.