Folks, I am new to Arduino. Need help to automate water tank (water quantity)

The error message:

'sendSMS()' was not declared in this scope.

True.
Maybe you forgot to write that function?