Creating a gateway plugin
Creating a gateway plugin #
Adding incoming SMS features to Gateway plugins
The page outlines how to add feature to your gateway plugin in order for your site to handle SMS messages sent by mobile clients to your
Implementing a custom incoming route controller
Perhaps you would like more control over incoming messages than what is provided out of the box by SMS Frameworks incoming route
Returning Result Objects with Transmission Methods
SMS Gateway plugins must return result objects for their \Drupal\sms\Plugin\SmsGatewayPluginIncomingInterface::incoming and \Drupal\sms