Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.104/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