Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/client/0_utilities.ts>isPtsUpdate

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
function isPtsUpdate
import { isPtsUpdate } from "https://deno.land/x/mtkruto@0.1.141/client/0_utilities.ts";

Parameters

v: enums.Update

Returns

v is
| types.UpdateNewMessage
| types.UpdateDeleteMessages
| types.UpdateReadHistoryInbox
| types.UpdateReadHistoryOutbox
| types.UpdatePinnedChannelMessages
| types.UpdatePinnedMessages
| types.UpdateFolderPeers
| types.UpdateChannelWebPage
| types.UpdateEditMessage
| types.UpdateReadMessagesContents
| types.UpdateWebPage