Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Message\ReportReason

Back to index

Author: Daniil Gentili daniil@daniil.it

Constants

  • danog\MadelineProto\EventHandler\Message\ReportReason::SPAM: Report for spam

  • danog\MadelineProto\EventHandler\Message\ReportReason::VIOLENCE: Report for violence

  • danog\MadelineProto\EventHandler\Message\ReportReason::PORNOGRAPHY: Report for pornography

  • danog\MadelineProto\EventHandler\Message\ReportReason::CHILD_ABUSE: Report for child abuse

  • danog\MadelineProto\EventHandler\Message\ReportReason::COPYRIGHT: Report for copyrighted content

  • danog\MadelineProto\EventHandler\Message\ReportReason::GEO_IRRELEVANT: Report an irrelevant geogroup

  • danog\MadelineProto\EventHandler\Message\ReportReason::FAKE: Report for impersonation

  • danog\MadelineProto\EventHandler\Message\ReportReason::ILLEGAL_DRUGS: Report for illegal drugs

  • danog\MadelineProto\EventHandler\Message\ReportReason::PERSONAL_DETAILS: Report for divulgation of personal details

  • danog\MadelineProto\EventHandler\Message\ReportReason::OTHER: Other

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