If your account has been inactive for six months, Telegram will automatically delete it. You can adjust that setting to avoid Telegram deleting your profile too soon. You can choose from six months, three months, or a full year.