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>account_updateColor_

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

Update the accent color and background custom emoji » of the current account.

Constructors

new
account_updateColor_(params?: { for_profile?: true; 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.

optional
color: number

ID of the accent color palette » to use (not RGB24, see here » for more info).

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; color?: number; background_emoji_id?: bigint; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc