mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
fix error transfer received sms + finish octopush shortcode adapter
This commit is contained in:
parent
6ad299f21e
commit
49f3a4b28c
8 changed files with 139 additions and 16 deletions
|
@ -173,7 +173,11 @@ class TwilioVirtualNumberAdapter implements AdapterInterface
|
|||
* @param string $text : Text of the SMS to send
|
||||
* @param bool $flash : Is the SMS a Flash SMS
|
||||
*
|
||||
* @return mixed Uid of the sended message if send, False else
|
||||
* @return array : [
|
||||
* bool 'error' => false if no error, true else
|
||||
* ?string 'error_message' => null if no error, else error message
|
||||
* array 'uid' => Uid of the sms created on success
|
||||
* ]
|
||||
*/
|
||||
public function send(string $destination, string $text, bool $flash = false)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue