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_setEncryptedTyping_

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

Send typing event by the current user to a secret chat.

Constructors

new
messages_setEncryptedTyping_(params: { peer: enums.InputEncryptedChat; typing: boolean; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
peer: enums.InputEncryptedChat

Secret chat ID

typing: boolean

Typing.
Possible values*:
(boolTrue), if the user started typing and more than*5 seconds** have passed since the last request
(boolFalse), if the user stopped typing

Static Properties

__F: (params: { peer: enums.InputEncryptedChat; typing: boolean; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc