Folder.update_color()#

Folder.update_color()#

Bound method update_color of Folder.

Use as a shortcut for:

await client.update_folder(
    folder_id=123456789,
    included_chats=[chat_id],
    excluded_chats=[chat_id],
    pinned_chats=[...],
    color=color
)

Example

await folder.update_color(enums.FolderColor.RED)
Parameters:

color (FolderColor, optional) – Color type. Pass FolderColor to set folder color.

Returns:

True on success.