Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Topic\IconColor

Back to index

Author: Daniil Gentili daniil@daniil.it

Specifies the color of the fallback topic icon (RGB) if no custom emoji icon is specified.

Constants

  • danog\MadelineProto\EventHandler\Topic\IconColor::NONE:

  • danog\MadelineProto\EventHandler\Topic\IconColor::BLUE:

  • danog\MadelineProto\EventHandler\Topic\IconColor::YELLOW:

  • danog\MadelineProto\EventHandler\Topic\IconColor::PURPLE:

  • danog\MadelineProto\EventHandler\Topic\IconColor::GREEN:

  • danog\MadelineProto\EventHandler\Topic\IconColor::PINK:

  • danog\MadelineProto\EventHandler\Topic\IconColor::RED:

Properties

  • $name: string
  • $value: int

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