danog\MadelineProto\VoIP\DiscardReason
Author: Daniil Gentili daniil@daniil.it
Why was the call discarded?
Constants
danog\MadelineProto\VoIP\DiscardReason::MISSED: We missed the calldanog\MadelineProto\VoIP\DiscardReason::DISCONNECTED: The phone call was disconnecteddanog\MadelineProto\VoIP\DiscardReason::HANGUP: The phone call ended normallydanog\MadelineProto\VoIP\DiscardReason::BUSY: The phone call was discarded because the user is busy in another calldanog\MadelineProto\VoIP\DiscardReason::MIGRATE_CONFERENCE_CALL: The phone call was upgraded to a conference call ».
Do not pass this reason manually, use VoIP::migrateToConference() instead.
Properties
$name:string$value:string
Method list:
Methods:
cases(): array
from(string|int $value): static
Parameters:
$value:string|int
tryFrom(string|int $value): ?static
Parameters:
$value:string|int
Generated by danog/phpdoc