Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
vonage
/
client-core
/
src
/
Messages
/
Channel
/
SMS
Location:
/home/zoteqbgb/public_html/vendor/vonage/client-core/src/Messages/Channel/SMS
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: SMSText.php
<?php namespace Vonage\Messages\Channel\SMS; use Vonage\Messages\MessageTraits\TextTrait; use Vonage\Messages\Channel\BaseMessage; class SMSText extends BaseMessage { use TextTrait; protected string $subType = BaseMessage::MESSAGES_SUBTYPE_TEXT; protected string $channel = 'sms'; public function __construct( string $to, string $from, string $message ) { $this->to = $to; $this->from = $from; $this->text = $message; } public function toArray(): array { $returnArray = $this->getBaseMessageUniversalOutputArray(); $returnArray['text'] = $this->getText(); return $returnArray; } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
SMSText.php
696 bytes
0644
2023-10-02 14:26
âï¸
ðï¸
Rename
Chang
Apply