Telegram doesn't support bots and most other advanced features for E2EE conversations either. It seems at least as valid (IMO) to speculate that WhatsApp's lack of API/bot support is due to an additional technical hurdle than its dominant market status.