Skip to content

SmsParams

André Matthies edited this page Feb 6, 2025 · 1 revision

SmsParams

Properties

delay

protected ?\DateTime $delay

files

protected array $files

flash

protected ?bool $flash

foreign_id

protected ?string $foreign_id

from

protected ?string $from

label

protected ?string $label

performance_tracking

protected ?bool $performance_tracking

text

protected string $text

to

protected array $to

ttl

protected ?int $ttl

udh

protected ?string $udh

Methods

__construct

public __construct(string $text, string $to): mixed

Parameters:

Parameter Type Description
$text string
$to string

getDelay

public getDelay(): ?\DateTime

setDelay

public setDelay(?\DateTime $delay): self

Parameters:

Parameter Type Description
$delay ?\DateTime

addFile

public addFile(array $file): self

Parameters:

Parameter Type Description
$file array

getFiles

public getFiles(): array

setFiles

public setFiles(array $files): self

Parameters:

Parameter Type Description
$files array

removeFile

public removeFile(int $index): self

Parameters:

Parameter Type Description
$index int

removeFiles

public removeFiles(): self

getFlash

public getFlash(): ?bool

setFlash

public setFlash(?bool $flash): self

Parameters:

Parameter Type Description
$flash ?bool

getForeignId

public getForeignId(): ?string

setForeignId

public setForeignId(?string $foreignId): self

Parameters:

Parameter Type Description
$foreignId ?string

getFrom

public getFrom(): ?string

setFrom

public setFrom(?string $from): self

Parameters:

Parameter Type Description
$from ?string

getLabel

public getLabel(): ?string

setLabel

public setLabel(?string $label): self

Parameters:

Parameter Type Description
$label ?string

getPerformanceTracking

public getPerformanceTracking(): ?bool

setPerformanceTracking

public setPerformanceTracking(?bool $performanceTracking): self

Parameters:

Parameter Type Description
$performanceTracking ?bool

getText

public getText(): string

setText

public setText(string $text): self

Parameters:

Parameter Type Description
$text string

addTo

public addTo(string $to): self

Parameters:

Parameter Type Description
$to string

getTo

public getTo(): array

setTo

public setTo(array $to): self

Parameters:

Parameter Type Description
$to array

getTtl

public getTtl(): ?int

setTtl

public setTtl(?int $ttl): self

Parameters:

Parameter Type Description
$ttl ?int

getUdh

public getUdh(): ?string

setUdh

public setUdh(?string $udh): self

Parameters:

Parameter Type Description
$udh ?string

toArray

public toArray(): array


Automatically generated on 2025-02-06

Clone this wiki locally