*** # SmsMessage * Full name: `\Seven\Api\Resource\Sms\SmsMessage` ## Properties ### encoding ```php protected string $encoding ``` *** ### error ```php protected ?int $error ``` *** ### errorText ```php protected ?string $errorText ``` *** ### id ```php protected ?int $id ``` *** ### isBinary ```php protected bool $isBinary ``` *** ### label ```php protected ?string $label ``` *** ### parts ```php protected int $parts ``` *** ### price ```php protected float $price ``` *** ### recipient ```php protected ?string $recipient ``` *** ### sender ```php protected string $sender ``` *** ### success ```php protected bool $success ``` *** ### text ```php protected string $text ``` *** ### udh ```php protected ?string $udh ``` *** ## Methods ### __construct ```php public __construct(object $data): mixed ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$data` | **object** | | *** ### getEncoding ```php public getEncoding(): string ``` *** ### getError ```php public getError(): ?int ``` *** ### getErrorText ```php public getErrorText(): ?string ``` *** ### getId ```php public getId(): ?int ``` *** ### getParts ```php public getParts(): int ``` *** ### getPrice ```php public getPrice(): float ``` *** ### getRecipient ```php public getRecipient(): string ``` *** ### getSender ```php public getSender(): string ``` *** ### isSuccess ```php public isSuccess(): bool ``` *** ### getText ```php public getText(): string ``` *** ### getUdh ```php public getUdh(): ?string ``` *** ### getIsBinary ```php public getIsBinary(): bool ``` *** *** > Automatically generated on 2025-02-06