mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Fix color description
This commit is contained in:
parent
be5f82eb86
commit
c88dd2bcf1
@ -20,22 +20,52 @@ from .auto_name import AutoName
|
|||||||
|
|
||||||
|
|
||||||
class ProfileColor(AutoName):
|
class ProfileColor(AutoName):
|
||||||
"""Profile color enumeration used in :meth:`~pyrogram.method.UpdateColor` and :obj:`~pyrogram.types.ChatColor`."""
|
"""Profile color enumeration used in :meth:`~pyrogram.Client.update_color` and :obj:`~pyrogram.types.ChatColor`."""
|
||||||
|
|
||||||
RED = 0
|
RED = 0
|
||||||
|
"Red color."
|
||||||
|
|
||||||
ORANGE = 1
|
ORANGE = 1
|
||||||
|
"Orange color."
|
||||||
|
|
||||||
VIOLET = 2
|
VIOLET = 2
|
||||||
|
"Violet color."
|
||||||
|
|
||||||
GREEN = 3
|
GREEN = 3
|
||||||
|
"Green color."
|
||||||
|
|
||||||
CYAN = 4
|
CYAN = 4
|
||||||
|
"Cyan color."
|
||||||
|
|
||||||
BLUE = 5
|
BLUE = 5
|
||||||
|
"Blue color."
|
||||||
|
|
||||||
PINK = 6
|
PINK = 6
|
||||||
|
"Pink color."
|
||||||
|
|
||||||
GRAY = 7
|
GRAY = 7
|
||||||
|
"Gray color."
|
||||||
|
|
||||||
RED_LIGHT_RED = 8
|
RED_LIGHT_RED = 8
|
||||||
|
"Red color with light red gradient."
|
||||||
|
|
||||||
ORANGE_LIGHT_ORANGE = 9
|
ORANGE_LIGHT_ORANGE = 9
|
||||||
|
"Orange color with light red gradient."
|
||||||
|
|
||||||
VIOLET_LIGHT_VIOLET = 10
|
VIOLET_LIGHT_VIOLET = 10
|
||||||
|
"Violet color with light violet gradient."
|
||||||
|
|
||||||
GREEN_LIGHT_GREEN = 11
|
GREEN_LIGHT_GREEN = 11
|
||||||
|
"Green color with light green gradien."
|
||||||
|
|
||||||
CYAN_LIGHT_CYAN = 12
|
CYAN_LIGHT_CYAN = 12
|
||||||
|
"Cyan color with light cyan gradient."
|
||||||
|
|
||||||
BLUE_LIGHT_BLUE = 13
|
BLUE_LIGHT_BLUE = 13
|
||||||
|
"Blue color with light blue gradient."
|
||||||
|
|
||||||
PINK_LIGHT_PINK = 14
|
PINK_LIGHT_PINK = 14
|
||||||
|
"Pink color with light pink gradient."
|
||||||
|
|
||||||
GRAY_LIGHT_GRAY = 15
|
GRAY_LIGHT_GRAY = 15
|
||||||
|
"Gray color with light gray gradient."
|
||||||
|
@ -20,28 +20,67 @@ from .auto_name import AutoName
|
|||||||
|
|
||||||
|
|
||||||
class ReplyColor(AutoName):
|
class ReplyColor(AutoName):
|
||||||
"""Reply color enumeration used in :meth:`~pyrogram.method.UpdateColor` and :obj:`~pyrogram.types.ChatColor`."""
|
"""Reply color enumeration used in :meth:`~pyrogram.Client.update_color` and :obj:`~pyrogram.types.ChatColor`."""
|
||||||
|
|
||||||
RED = 0
|
RED = 0
|
||||||
|
"Red color."
|
||||||
|
|
||||||
ORANGE = 1
|
ORANGE = 1
|
||||||
|
"Orange color."
|
||||||
|
|
||||||
VIOLET = 2
|
VIOLET = 2
|
||||||
|
"Violet color."
|
||||||
|
|
||||||
GREEN = 3
|
GREEN = 3
|
||||||
|
"Green color."
|
||||||
|
|
||||||
CYAN = 4
|
CYAN = 4
|
||||||
|
"Cyan color."
|
||||||
|
|
||||||
BLUE = 5
|
BLUE = 5
|
||||||
|
"Blue color."
|
||||||
|
|
||||||
PINK = 6
|
PINK = 6
|
||||||
|
"Pink color."
|
||||||
|
|
||||||
RED_DARK_RED = 7
|
RED_DARK_RED = 7
|
||||||
|
"Red color with dark red stripes."
|
||||||
|
|
||||||
ORANGE_DARK_ORANGE = 8
|
ORANGE_DARK_ORANGE = 8
|
||||||
|
"Orange color with dark orange stripes."
|
||||||
|
|
||||||
VIOLET_DARK_VIOLET = 9
|
VIOLET_DARK_VIOLET = 9
|
||||||
|
"Violet color with dark violet stripes."
|
||||||
|
|
||||||
GREEN_DARK_GREEN = 10
|
GREEN_DARK_GREEN = 10
|
||||||
|
"Green color with dark green stripes."
|
||||||
|
|
||||||
CYAN_DARK_CYAN = 11
|
CYAN_DARK_CYAN = 11
|
||||||
|
"Cyan color with dark cyan stripes."
|
||||||
|
|
||||||
BLUE_DARK_BLUE = 12
|
BLUE_DARK_BLUE = 12
|
||||||
|
"Blue color with dark blue stripes."
|
||||||
|
|
||||||
PINK_DARK_PINK = 13
|
PINK_DARK_PINK = 13
|
||||||
|
"Pink color with dark pink stripes."
|
||||||
|
|
||||||
BLUE_WHITE_RED = 14
|
BLUE_WHITE_RED = 14
|
||||||
|
"Blue color with white and red stripes."
|
||||||
|
|
||||||
ORANGE_WHITE_GREEN = 15
|
ORANGE_WHITE_GREEN = 15
|
||||||
|
"Orange color with white and green stripes."
|
||||||
|
|
||||||
GREEN_WHITE_RED = 16
|
GREEN_WHITE_RED = 16
|
||||||
BLUE_WHITE_GREEN = 17
|
"Green color with white and red stripes."
|
||||||
BLUE_WHITE_PINK = 18
|
|
||||||
VIOLET_WHITE_ORANGE = 19
|
CYAN_WHITE_GREEN = 17
|
||||||
|
"Cyan color with white and red green."
|
||||||
|
|
||||||
|
CYAN_YELLOW_PINK = 18
|
||||||
|
"Cyan color with yellow and pink stripes."
|
||||||
|
|
||||||
|
VIOLET_YELLOW_ORANGE = 19
|
||||||
|
"Violet color with yellow and orange stripes."
|
||||||
|
|
||||||
BLUE_WHITE_ORANGE = 20
|
BLUE_WHITE_ORANGE = 20
|
||||||
|
"Blue color with white and orange stripes."
|
||||||
|
Loading…
Reference in New Issue
Block a user