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

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

The new updates

Constructors

new
updates_ChannelDifference_(params: { final?: true; pts: number; timeout?: number; new_messages: Array<enums.Message>; other_updates: Array<enums.Update>; chats: Array<enums.Chat>; users: Array<enums.User>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
chats: Array<enums.Chat>

Chats

optional
final: true

Whether there are more updates to be fetched using getDifference, starting from the provided pts

new_messages: Array<enums.Message>

New messages

other_updates: Array<enums.Update>

Other updates

pts: number

The PTS from which to start getting updates the next time

optional
timeout: number

Clients are supposed to refetch the channel difference after timeout seconds have elapsed

users: Array<enums.User>

Users

Static Properties

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