Fix color description

This commit is contained in:
KurimuzonAkuma 2023-12-08 01:31:01 +03:00
parent be5f82eb86
commit c88dd2bcf1
2 changed files with 74 additions and 5 deletions

View File

@ -20,22 +20,52 @@ from .auto_name import 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 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."

View File

@ -20,28 +20,67 @@ from .auto_name import 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 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."
RED_DARK_RED = 7
"Red color with dark red stripes."
ORANGE_DARK_ORANGE = 8
"Orange color with dark orange stripes."
VIOLET_DARK_VIOLET = 9
"Violet color with dark violet stripes."
GREEN_DARK_GREEN = 10
"Green color with dark green stripes."
CYAN_DARK_CYAN = 11
"Cyan color with dark cyan stripes."
BLUE_DARK_BLUE = 12
"Blue color with dark blue stripes."
PINK_DARK_PINK = 13
"Pink color with dark pink stripes."
BLUE_WHITE_RED = 14
"Blue color with white and red stripes."
ORANGE_WHITE_GREEN = 15
"Orange color with white and green stripes."
GREEN_WHITE_RED = 16
BLUE_WHITE_GREEN = 17
BLUE_WHITE_PINK = 18
VIOLET_WHITE_ORANGE = 19
"Green color with white and red stripes."
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 color with white and orange stripes."