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

x/mtkruto/3_types.ts>MessageTypes

Cross-runtime JavaScript library for building Telegram clients
Latest
interface MessageTypes
import { type MessageTypes } from "https://deno.land/x/mtkruto@0.6.2/3_types.ts";

Properties

document: MessageDocument
animation: MessageAnimation
videoNote: MessageVideoNote
location: MessageLocation
newChatMembers: MessageNewChatMembers
leftChatMember: MessageLeftChatMember
newChatTitle: MessageNewChatTitle
newChatPhoto: MessageNewChatPhoto
deletedChatPhoto: MessageDeletedChatPhoto
groupCreated: MessageGroupCreated
supergroupCreated: MessageSupergroupCreated
channelCreated: MessageChannelCreated
chatMigratedTo: MessageChatMigratedTo
chatMigratedFrom: MessageChatMigratedFrom
pinnedMessage: MessagePinnedMessage
userShared: MessageUserShared
writeAccessAllowed: MessageWriteAccessAllowed
forumTopicCreated: MessageForumTopicCreated
forumTopicEdited: MessageForumTopicEdited
forumTopicClosed: MessageForumTopicClosed
forumTopicReopened: MessageForumTopicReopened
videoChatScheduled: MessageVideoChatScheduled
videoChatStarted: MessageVideoChatStarted
videoChatEnded: MessageVideoChatEnded
giveaway: MessageGiveaway
unsupported: MessageUnsupported
successfulPayment: MessageSuccessfulPayment
refundedPayment: MessageRefundedPayment