bf means boyfriend.

It usually means boyfriend but some people use it for best friend as well. Bestie or bff is a more common way to shorten best friend.