Skip to content

VoiceMessage

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

VoiceMessage

  • Full name: \Seven\Api\Resource\Voice\VoiceMessage

Properties

error

protected ?string $error

errorText

protected ?string $errorText

id

protected int $id

price

protected float $price

recipient

protected string $recipient

sender

protected string $sender

success

protected bool $success

text

protected string $text

Methods

__construct

public __construct(object $data): mixed

Parameters:

Parameter Type Description
$data object

getError

public getError(): ?string

getErrorText

public getErrorText(): ?string

getId

public getId(): int

getPrice

public getPrice(): float

getRecipient

public getRecipient(): string

getSender

public getSender(): string

isSuccess

public isSuccess(): bool

getText

public getText(): float


Automatically generated on 2025-02-06

Clone this wiki locally