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

x/mtkruto/tl/2_types.ts>UpdateChatUserTyping_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class UpdateChatUserTyping_
extends _Update_
import { UpdateChatUserTyping_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

The user is preparing a message in a group; typing, recording, uploading, etc. This update is valid for 6 seconds. If no further updates of this kind are received after 6 seconds, it should be considered that the user stopped doing whatever they were doing

Constructors

new
UpdateChatUserTyping_(params: { chat_id: bigint; from_id: enums.Peer; action: enums.SendMessageAction; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
action: enums.SendMessageAction

Type of action

chat_id: bigint

Group id

from_id: enums.Peer

Peer that started typing (can be the chat itself, in case of anonymous admins).

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc