Select all - iOS
On this menu, you can "Select all", "Select all from sender", or "Select none". You can see these pictured and circled in green below.
Once you have chosen which you would like, the avatars will become selected / unselected and you can take action on the messages.