It is unacceptable. Preferable in offical way and with sign as in future can argue that someone guide him/her to do that in whatsapp or someone force he/she to resign and submit in whatsapp. Therefore, to prevent all this happen , offical way still the preferable one.
1