Link Search Menu Expand Document

danog\MadelineProto\VoIP\DiscardReason

Back to index

Author: Daniil Gentili daniil@daniil.it

Why was the call discarded?

Constants

  • danog\MadelineProto\VoIP\DiscardReason::MISSED: We missed the call

  • danog\MadelineProto\VoIP\DiscardReason::DISCONNECTED: The phone call was disconnected

  • danog\MadelineProto\VoIP\DiscardReason::HANGUP: The phone call ended normally

  • danog\MadelineProto\VoIP\DiscardReason::BUSY: The phone call was discarded because the user is busy in another call

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