Skip to content

Commit

Permalink
Fix color description
Browse files Browse the repository at this point in the history
  • Loading branch information
KurimuzonAkuma committed Dec 7, 2023
1 parent be5f82e commit c88dd2b
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 5 deletions.
32 changes: 31 additions & 1 deletion pyrogram/enums/profile_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,52 @@


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."
47 changes: 43 additions & 4 deletions pyrogram/enums/reply_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,67 @@


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."

0 comments on commit c88dd2b

Please sign in to comment.