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

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

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
function hasPts
import { hasPts } from "https://deno.land/x/mtkruto@0.0.989/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