WhatsApp uses end to end encryption by default. In fact, it uses the library that Signal developed. It is much more secure than Telegram, unless proved otherwise (which would need some backdoor in the application code to change its behavior).
the fact that the iranian regime blocks telegram, messenger, instagram, signal, etc. but has no problem with whatsapp makes me worried that the app probably cooperates with the regime and complies with their data requests.