help.PeerColors

class pyrogram.raw.base.help.PeerColors

Contains info about multiple color palettes ».

Constructors:

This base type has 2 constructors available.

help.PeerColors

Contains info about multiple color palettes ».

help.PeerColorsNotModified

The list of color palettes has not changed.

Functions:

This object can be returned by 2 functions.

help.GetPeerColors

Get the set of accent color palettes » that can be used for message accents.

help.GetPeerProfileColors

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
├── hashint
└── colorsVector < help.PeerColorOption >
├── hiddentrue (optional)
├── color_idint
├── colorshelp.PeerColorSet (optional)
│ ├── help.PeerColorSet
│ │ └── colorsVector < int >
│ ├── palette_colorsVector < int >
│ ├── bg_colorsVector < int >
│ └── story_colorsVector < int >
├── dark_colorshelp.PeerColorSet (optional)
│ ├── help.PeerColorSet
│ │ └── colorsVector < int >
│ ├── palette_colorsVector < int >
│ ├── bg_colorsVector < int >
│ └── story_colorsVector < int >
├── channel_min_levelint (optional)
└── group_min_levelint (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
            )
        ],
)