How can I make a shader to fill a bottle?

Can you please provide an example? I have never done this before, I am not familiar with the required nodes.