-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update types and methods to latest layer as well.
Signed-off-by: Aliwoto <[email protected]>
- Loading branch information
Showing
125 changed files
with
4,863 additions
and
1,215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# 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 gradient." | ||
|
||
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." |
Oops, something went wrong.