SMS service
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Sms;
|
||||
|
||||
class SmsMessage
|
||||
{
|
||||
public function __construct(
|
||||
public string $to,
|
||||
public string $content,
|
||||
public ?string $sender = null, // provider sname
|
||||
public ?string $senderPhone = null, // phone number for 'from'
|
||||
public ?string $countryCode = null, // cc param, optional
|
||||
public bool $deliveryReport = false, // dr=1 when true
|
||||
public ?string $clientReference = null,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user