Incase you leave a public group, you can join back with a single click on the name of the Group in your Public groups tab. Once you leave a private group however, the admin of the group will have to add you back to the group. While you are no longer part of the group, the group as well as all the chats and media shared will no longer be available to you.