Types

Animation

An animation file (GIF or H.264/MPEG-4 AVC video without sound).

Audio

An audio file.

AuthorizationState

A client’s authorization state.

Birthday

A user’s birthday.

BotCommand

A bot command.

BotCommandScope

A type specifying where bot commads are available.

BotTokenCheckResult

A result after checking a sent code.

BusinessConnection

A business connection.

CallbackQuery

A received callback query.

CallbackQueryAnswer

An answer to a callback query.

CallbackQueryQuestion

A reference to a button that is to be clicked by a user.

Chat

A chat with more fields.

ChatAction

A sign of a possible action by a member of a conversation.

ChatAdministratorRights

The rights of a chat administrator.

ChatListItem

No Description

ChatMember

A chat member.

ChatMemberRights

The rights of a chat member.

ChatMemberUpdated

Changes made to a chat member.

ChatP

A chat with lesser fields.

ChatPhoto

A chat photo.

ChatSettings

No Description

ChosenInlineResult

A chosen inline result.

ClaimedGift

A gift claimed by a user or a channel.

ClaimedGifts

Gifts claimed by a user or a channel.

CodeCheckResult

A result after checking a sent code.

ConnectionState

A client’s connection state.

Contact

A shared contact.

Dice

A rolled dice.

Document

A document.

FailedInvitation

No Description

FileType

No Description

ForwardHeader

No Description

Game

A game.

Gift

A gift.

GiftValue

A gift’s value.

Giveaway

A giveaway.

GiveawayParameters

Giveaway parameters.

ID

The identifier of a channel, a group, or a user (as provided by MTKruto), a username, or a chat link (e.g., https://mtkruto.t.me, https://telegram.me/mtkruto). "me" resolves to the current account.

InactiveChat

An inactive chat.

InlineKeyboardButton

A button of an inline keyboard.

InlineQuery

An incoming inline query.

InlineQueryAnswer

An answer to an inline query.

InlineQueryResult

A single inline query result.

InlineQueryResultButton

A button to be shown along with the results of an inline query.

InputMedia

No Description

InputStoryContent

A story content when provided as an input.

InviteLink

A chat invite link.

Invoice

No Description

JoinRequest

A join request.

KeyboardButton

A button of a custom keyboard.

KeyboardButtonPollType

A keyboard button representing the type of the poll that is requested to be created.

LinkPreview

No Description

LinkPreviewMediaSize

MTKruto - Cross-runtime JavaScript library for building Telegram clients Copyright © 2023-2026 Roj https://roj.im/

This file is part of MTKruto.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

LiveStreamChannel

A live stream channel.

Location

A shared location.

LoginUrl

A login URL.

MaskPosition

A mask position.

Message

Any type of message.

MessageContent

The content of a message in an inline query result.

MessageEntity

A single entity of a message’s text or caption.

MessageInteractions

The interactions made with a message.

MessageReaction

Represents a type of reaction made to a message.

MessageReactionCount

Information on the reactions made to a channel post.

MessageReactionList

A list of reactions made to a message along with the users or chats that made them.

MessageReactionListItem

An item in a reaction list.

MessageReactions

The reactions of a user to a messages in a group.

MessageReference

Reference to a message.

MessageSearchFilter

No Description

MiniAppButtonInfo

MTKruto - Cross-runtime JavaScript library for building Telegram clients Copyright © 2023-2026 Roj https://roj.im/

This file is part of MTKruto.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

MiniAppInfo

The necessary information to launch a mini app.

MiniAppMode

A mini app mode.

NetworkStatistics

A client’s network statistics.

NetworkStatisticsEntry

An entry of a client’s network statistics.

OpeningHours

No Description

OrderInfo

No Description

ParseMode

Message parse mode.

PasswordCheckResult

A result after checking a sent code.

Photo

A photo.

PhotoSource

No Description

Poll

A poll.

PollAnswer

An answer to a poll.

PollOption

A poll option.

PreCheckoutQuery

No Description

PriceTag

A price tag.

Reaction

A reaction type.

ReactionCount

The count of a specific reaction.

RefundedPayment

Information on a refunded payment.

ReplyMarkup

A message’s reply markup.

ReplyQuote

A reference to a specific part of a message that is being replied to.

ReplyTo

No Description

RestrictionReason

The reason for restricting an entity.

SavedChat

Information on a saved chat.

SavedChats

A list of saved chats.

SelfDestructOption

No Description

ShippingAddress

A shipping address.

SlowModeDuration

MTKruto - Cross-runtime JavaScript library for building Telegram clients Copyright © 2023-2026 Roj https://roj.im/

This file is part of MTKruto.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Sticker

A sticker.

StickerSet

A sticker (or emoji) set.

Story

A story.

StoryContent

A story content.

StoryInteractions

The interactions made with a story.

StoryInteractiveArea

A story’s interactive area.

StoryPrivacy

A story’s privacy choice.

StoryReaction

Represents a type of reaction made to a story.

StoryReference

Reference to a story.

SuccessfulPayment

No Description

SwitchInlineQueryChosenChats

MTKruto - Cross-runtime JavaScript library for building Telegram clients Copyright © 2023-2026 Roj https://roj.im/

This file is part of MTKruto.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Thumbnail

A file or sticker thumbnail.

Topic

No Description

Translation

A translation.

Update

An incoming update.

UploadProgress

The progress of an upload.

User

A user.

Venue

A shared venue.

Video

A video file.

VideoChat

No Description

VideoNote

A video note.

Voice

A voice note.

VoiceTranscription

An audio transcription.

BotTokenCheckResult.SignedIn

The bot token was correct. The bot was signed in.

CodeCheckResult.PasswordRequired

The code was correct, but an additional password is required to sign in.

CodeCheckResult.InvalidCode

The code entered was incorrect.

CodeCheckResult.SignedIn

The code was correct. The user was signed in.

PasswordCheckResult.InvalidPassword

The password entered was incorrect.

PasswordCheckResult.SignedIn

The password was correct. The user was signed in.