*** # VoiceMessage * Full name: `\Seven\Api\Resource\Voice\VoiceMessage` ## Properties ### error ```php protected ?string $error ``` *** ### errorText ```php protected ?string $errorText ``` *** ### id ```php protected int $id ``` *** ### 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 ``` *** ## Methods ### __construct ```php public __construct(object $data): mixed ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$data` | **object** | | *** ### getError ```php public getError(): ?string ``` *** ### getErrorText ```php public getErrorText(): ?string ``` *** ### getId ```php public getId(): 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(): float ``` *** *** > Automatically generated on 2025-02-06