Does Grubhub Tip The Restaurant?

Does Grubhub tip go to driver or restaurant?

.

How much of the tip does Grubhub take?

Who gets the tip on Grubhub pickup?

What happens if you don’t tip Grubhub?