*** # SmsParams * Full name: `\Seven\Api\Resource\Sms\SmsParams` * This class implements: [`\Seven\Api\Library\ParamsInterface`](../../Library/ParamsInterface.md) ## Properties ### delay ```php protected ?\DateTime $delay ``` *** ### files ```php protected array $files ``` *** ### flash ```php protected ?bool $flash ``` *** ### foreign_id ```php protected ?string $foreign_id ``` *** ### from ```php protected ?string $from ``` *** ### label ```php protected ?string $label ``` *** ### performance_tracking ```php protected ?bool $performance_tracking ``` *** ### text ```php protected string $text ``` *** ### to ```php protected array $to ``` *** ### ttl ```php protected ?int $ttl ``` *** ### udh ```php protected ?string $udh ``` *** ## Methods ### __construct ```php public __construct(string $text, string $to): mixed ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$text` | **string** | | | `$to` | **string** | | *** ### getDelay ```php public getDelay(): ?\DateTime ``` *** ### setDelay ```php public setDelay(?\DateTime $delay): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$delay` | **?\DateTime** | | *** ### addFile ```php public addFile(array $file): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$file` | **array** | | *** ### getFiles ```php public getFiles(): array ``` *** ### setFiles ```php public setFiles(array $files): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$files` | **array** | | *** ### removeFile ```php public removeFile(int $index): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$index` | **int** | | *** ### removeFiles ```php public removeFiles(): self ``` *** ### getFlash ```php public getFlash(): ?bool ``` *** ### setFlash ```php public setFlash(?bool $flash): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$flash` | **?bool** | | *** ### getForeignId ```php public getForeignId(): ?string ``` *** ### setForeignId ```php public setForeignId(?string $foreignId): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$foreignId` | **?string** | | *** ### getFrom ```php public getFrom(): ?string ``` *** ### setFrom ```php public setFrom(?string $from): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$from` | **?string** | | *** ### getLabel ```php public getLabel(): ?string ``` *** ### setLabel ```php public setLabel(?string $label): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$label` | **?string** | | *** ### getPerformanceTracking ```php public getPerformanceTracking(): ?bool ``` *** ### setPerformanceTracking ```php public setPerformanceTracking(?bool $performanceTracking): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$performanceTracking` | **?bool** | | *** ### getText ```php public getText(): string ``` *** ### setText ```php public setText(string $text): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$text` | **string** | | *** ### addTo ```php public addTo(string $to): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$to` | **string** | | *** ### getTo ```php public getTo(): array ``` *** ### setTo ```php public setTo(array $to): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$to` | **array** | | *** ### getTtl ```php public getTtl(): ?int ``` *** ### setTtl ```php public setTtl(?int $ttl): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$ttl` | **?int** | | *** ### getUdh ```php public getUdh(): ?string ``` *** ### setUdh ```php public setUdh(?string $udh): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$udh` | **?string** | | *** ### toArray ```php public toArray(): array ``` *** *** > Automatically generated on 2025-02-06