Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>channels_updateColor_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class channels_updateColor_
extends Function_<enums.Updates>
import { channels_updateColor_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Constructors

new
channels_updateColor_(params: { for_profile?: true; channel: enums.InputChannel; color?: number; background_emoji_id?: bigint; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
background_emoji_id: bigint

Custom emoji ID used in the accent color pattern.

channel: enums.InputChannel

Channel whose accent color should be changed.

optional
color: number

ID of the accent color palette » to use (not RGB24, see here » for more info); if not set, the default palette is used.

optional
for_profile: true

Whether to change the accent color emoji pattern of the profile page; otherwise, the accent color and emoji pattern of messages will be changed.

Static Properties

__F: (params: { for_profile?: true; channel: enums.InputChannel; color?: number; background_emoji_id?: bigint; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc