Repository URL to install this package:
|
Version:
2.1.13 ▾
|
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-present Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
from .auto_name import AutoName
class ProfileColor(AutoName):
"""Profile color enumeration used in :meth:`~pyrogram.Client.update_color` and :obj:`~pyrogram.types.ChatColor`."""
RED = 0
"Red color."
ORANGE = 1
"Orange color."
VIOLET = 2
"Violet color."
GREEN = 3
"Green color."
CYAN = 4
"Cyan color."
BLUE = 5
"Blue color."
PINK = 6
"Pink color."
GRAY = 7
"Gray color."
RED_LIGHT_RED = 8
"Red color with light red gradient."
ORANGE_LIGHT_ORANGE = 9
"Orange color with light red gradient."
VIOLET_LIGHT_VIOLET = 10
"Violet color with light violet gradient."
GREEN_LIGHT_GREEN = 11
"Green color with light green gradien."
CYAN_LIGHT_CYAN = 12
"Cyan color with light cyan gradient."
BLUE_LIGHT_BLUE = 13
"Blue color with light blue gradient."
PINK_LIGHT_PINK = 14
"Pink color with light pink gradient."
GRAY_LIGHT_GRAY = 15
"Gray color with light gray gradient."