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

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

Show or hide the real-time chat translation popup for a certain chat

Constructors

new
messages_togglePeerTranslations_(params: { disabled?: true; peer: enums.InputPeer; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
disabled: true

Whether to disable or enable the real-time chat translation popup

peer: enums.InputPeer

The peer

Static Properties

__F: (params: { disabled?: true; peer: enums.InputPeer; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc