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

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

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

Parameters

v: types.TypeUpdate | types.TypeUpdates

Returns

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