help.PeerColors
- class pyrogram.raw.base.help.PeerColors
Contains info about multiple color palettes ».
- Constructors:
This base type has 2 constructors available.
Contains info about multiple color palettes ».
The list of color palettes has not changed.
- Functions:
This object can be returned by 2 functions.
Get the set of accent color palettes » that can be used for message accents.
Get the set of accent color palettes » that can be used in profile page backgrounds.
TL Schema
help.peerColors#f8ed08
hash:int
colors:Vector<help.PeerColorOption>
= help.PeerColors
Parameter Tree
PeerColors
├── hash →
int└── colors →
Vector < help.PeerColorOption >├── hidden →
true (optional)├── color_id →
int├── colors →
help.PeerColorSet (optional)│ ├──
help.PeerColorSet│ │ └── colors →
Vector < int >│ └──
help.PeerColorProfileSet│ ├── palette_colors →
Vector < int >│ ├── bg_colors →
Vector < int >│ └── story_colors →
Vector < int >├── dark_colors →
help.PeerColorSet (optional)│ ├──
help.PeerColorSet│ │ └── colors →
Vector < int >│ └──
help.PeerColorProfileSet│ ├── palette_colors →
Vector < int >│ ├── bg_colors →
Vector < int >│ └── story_colors →
Vector < int >├── channel_min_level →
int (optional)└── group_min_level →
int (optional)Example
PeerColors(
hash=0,
colors=[
PeerColorOption(
hidden=None,
color_id=0,
colors=None,
dark_colors=None,
channel_min_level=None,
group_min_level=None
)
],
)