We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b499c3a commit 47c6b8dCopy full SHA for 47c6b8d
1 file changed
src/Utopia/Messaging/Adapter/SMS/Twilio.php
@@ -17,7 +17,8 @@ class Twilio extends SMSAdapter
17
public function __construct(
18
private string $accountSid,
19
private string $authToken,
20
- private ?string $from = null
+ private ?string $from = null,
21
+ private ?string $messagingServiceSid = null
22
) {
23
}
24
@@ -48,6 +49,7 @@ protected function process(SMSMessage $message): array
48
49
body: [
50
'Body' => $message->getContent(),
51
'From' => $this->from ?? $message->getFrom(),
52
+ 'MessagingServiceSid' => $this->messagingServiceSid ?? null,
53
'To' => $message->getTo()[0],
54
],
55
);
0 commit comments