Appointments+ SMS Integration

I am using some code provided in the forum by a user and need to work out if something has changed in Appointments+ that would stop it from working.

The code that I tried as a mu-plugin is mentioned here - https://*****bin.com/DaQnihs5

The code was adapted from this response - https://premium.wpmudev.org/forums/topic/appointments-sms-integration-plugin-enhanced#post-1186139

I just want to know if this refers to the right names of things in the plugin. I have installed the code as mu plugin and the plugin is running on the site, but the sms is not being sent.