Don't have Telegram yet? Try it now!
https://kodejava.org/how-do-i-use-randomaccessfile-class/
How do I use RandomAccessFile class?