Proper notice is required in written form, to the end of the term or lease, giving a notice period of at least 60 days. Text communication would not be deemed legal notice.
In your situation, you should minimize your losses by trying to re-rent the unit. Although the tenant is technically owing rent until it is re-rented, it is best in these situations to focus on re-renting, as the odds of successfully obtaining and enforcing an order for payment of rent is quite low.