Quickly delete all photos, GIFs, videos, messages or stickers from a certain chat in whatsapp 

It's possible to delete all the messages, photos, or videos, GIFs, contacts, locations, voice messages, documents and stickers in one chat. For example, you can delete all the messages in a specific chat or group chat, but leave all the photos. 

iOS & Android: Settings > Data and Storage Usage > Storage Usage > Select Contact > Manage > Tick the boxes next to what you want to clear, such as Videos or Voice Messages > Confirm Clear.