You would have to look at whatsapps help info for restoring pictures through the app.
For restoring ones deleted on a device, first try restarting the device. They may actually not be deleted/gone. Sometimes things we do, or things we install, make the device not work correctly and it will temporarily hide some files. Should that not be the issue, or this not fix the issue, and you actually deleted things, then it is going to be hit and miss on if you can get them back.
While there is no guaranty that you can get them back. Deleted does mean deleted. There are a few apps/programs out there that 'may' be able to help you recover the data.
A few of the programs you could try would be... DiskDigger, MobiSaver, Android-Recovery and Tenorshare. They are all data recovery apps/programs. There are many others out there, so check around and see which you would rather try. There is also one called RECUVA, that I have heard is free, which you could try.
One important note though, most of these programs are not free. They may say they are "free" or have "Free Trials" and "Free Downloads". Yet to actually recover your data, and get your files back, you may be have to purchase the program/app. Just so you know.
NOTE: For future reference, I really would suggest backing up your data to a computer or cloud. Often. Better to spend the time doing that, rather than to be out all that stuff if the phone dies, things get deleted/erased or it gets stolen.