Do not disturb mode - but allow certain apps
Unfortunately, you cannot (on a non-jailbroken device).  There is currently no iPhone feature available to exempt a specific application from either Silent or Do Not Disturb mode.