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

x/mtkruto/types/4_message.ts

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
import * as mtkruto from "https://deno.land/x/mtkruto@0.1.139/types/4_message.ts";

Interfaces

An animation message. Animations are GIFs or H.264/MPEG-4 AVC videos without sound.

An audio message.

A message that is received when a chat's auto-delete timer is changed.

Properties shared between all message types.

A message that is received by user accounts when a channel is created. While bots don't receive them, they are able to see them if someone replies to them.

A message that is received when a group is migrated to a supergroup.

A message that is received when a supergroup is created as a result of a group migration.

A contact message.

A message that is received when a chat's photo is removed.

A dice message.

A document message.

A message that is received when a topic is closed in a forum.

A message that is received when a new topic is created in a forum.

A message that is received when a topic is edited in a forum.

A message that is received when a topic is reopened in a forum.

A game message.

A message that is received when a giveaway is started in a chat.

A message that is received by user accounts when a group is created. While bots don't receive them, they are able to see them if someone replies to them.

A message that is received when a member leaves a chat.

A location message.

Properties shared between media message types.

A message that is received when new members join a chat.

A message that is received when a chat's photo is changed.

A message that is received when a chat's title is changed.

A message that is received when a message is pinned in a chat.

A poll message.

A sticker message.

A message that is received by user accounts when a supergroup is created. While bots don't receive them, they are able to see them if someone replies to them.

A text message.

An unsupported message.

A message that is received when a bot account receives a shared user.

A venue message.

A video message.

A message that is received when a video chat is ended in a chat.

A message that is received when a video chat is scheduled in a chat.

A message that is received when a video chat is started in a chat.

A video note message.

A voice message.

A message that is received when a bot is allowed to message a user.