-
Notifications
You must be signed in to change notification settings - Fork 3
SmsParams
André Matthies edited this page Feb 6, 2025
·
1 revision
- Full name:
\Seven\Api\Resource\Sms\SmsParams
- This class implements:
\Seven\Api\Library\ParamsInterface
protected ?\DateTime $delay
protected array $files
protected ?bool $flash
protected ?string $foreign_id
protected ?string $from
protected ?string $label
protected ?bool $performance_tracking
protected string $text
protected array $to
protected ?int $ttl
protected ?string $udh
public __construct(string $text, string $to): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$text |
string | |
$to |
string |
public getDelay(): ?\DateTime
public setDelay(?\DateTime $delay): self
Parameters:
Parameter | Type | Description |
---|---|---|
$delay |
?\DateTime |
public addFile(array $file): self
Parameters:
Parameter | Type | Description |
---|---|---|
$file |
array |
public getFiles(): array
public setFiles(array $files): self
Parameters:
Parameter | Type | Description |
---|---|---|
$files |
array |
public removeFile(int $index): self
Parameters:
Parameter | Type | Description |
---|---|---|
$index |
int |
public removeFiles(): self
public getFlash(): ?bool
public setFlash(?bool $flash): self
Parameters:
Parameter | Type | Description |
---|---|---|
$flash |
?bool |
public getForeignId(): ?string
public setForeignId(?string $foreignId): self
Parameters:
Parameter | Type | Description |
---|---|---|
$foreignId |
?string |
public getFrom(): ?string
public setFrom(?string $from): self
Parameters:
Parameter | Type | Description |
---|---|---|
$from |
?string |
public getLabel(): ?string
public setLabel(?string $label): self
Parameters:
Parameter | Type | Description |
---|---|---|
$label |
?string |
public getPerformanceTracking(): ?bool
public setPerformanceTracking(?bool $performanceTracking): self
Parameters:
Parameter | Type | Description |
---|---|---|
$performanceTracking |
?bool |
public getText(): string
public setText(string $text): self
Parameters:
Parameter | Type | Description |
---|---|---|
$text |
string |
public addTo(string $to): self
Parameters:
Parameter | Type | Description |
---|---|---|
$to |
string |
public getTo(): array
public setTo(array $to): self
Parameters:
Parameter | Type | Description |
---|---|---|
$to |
array |
public getTtl(): ?int
public setTtl(?int $ttl): self
Parameters:
Parameter | Type | Description |
---|---|---|
$ttl |
?int |
public getUdh(): ?string
public setUdh(?string $udh): self
Parameters:
Parameter | Type | Description |
---|---|---|
$udh |
?string |
public toArray(): array
Automatically generated on 2025-02-06