Types

AlbumStoryList

A list of stories in a specific album.

Animation

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

AppSupport

Information about app support.

Audio

An audio file.

AuthorizationState

A client’s authorization state.

AvailableReactions

A chat’s available reactions.

Birthday

A user’s birthday.

BlockedUser

A blocked user.

BlockedUserList

A list of blocked users.

BotCommand

A bot command.

BotCommands

A bot’s list of commands.

BotCommandScope

A type specifying where bot commads are available.

BotTokenCheckResult

A result after checking a bot token.

BusinessConnection

A business connection.

ButtonStyle

The style of a keyboard button.

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.

CallingCode

A country calling code.

Chat

A chat with more fields.

ChatAction

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

ChatActionType

A type of a chat action.

ChatAdministratorRights

The rights of a chat administrator.

ChatFolder

A chat folder.

ChatListItem

An item of a chat list.

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

A chat’s settings.

Checklist

A checklist.

ChecklistChanged

A change in checklist.

ChecklistItem

Any type of checklist item.

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

The result after checking a sent code.

ConnectionState

A client’s connection state.

Contact

A shared contact.

Country

A country.

Dice

A rolled dice.

Document

A document.

EmojiStatus

Any type of emoji status.

FailedInvitation

A failed invitation.

ForwardHeader

Any type of forward header.

Game

A game.

Gift

A gift.

GiftCollection

A gift collection.

GiftComponentRarity

The rarity of a gift component.

GiftNonUpgradedInformation

Information on a non-upgraded gift.

GiftUpgradedInformation

Information on an upgraded 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, a phone number (for users), 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.

InputChecklistItem

A checklist item that is to be provided as an input.

InputEmojiStatus

An emoji status to be passed as an input.

InputGift

Reference to a gift.

InputMedia

An input media.

InputPollOption

A poll option to be provided as an input.

InputStoryContent

A story content when provided as an input.

InviteLink

A chat invite link.

Invoice

A payment invoice.

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.

LeftChannelList

A list of left channels.

LinkPreview

A link preview.

LinkPreviewMediaSize

The size of a link preview’s media.

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.

MessageDraft

A message draft.

MessageEntity

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

MessageInteractions

The interactions made with a message.

MessageList

A list of messages.

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

A message search filter option.

MiniAppButtonInfo

Information on a mini app button.

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.

OrderInfo

Information on an order.

ParseMode

Message parse mode.

PasswordCheckResult

A result after checking a password.

Photo

A photo.

Poll

A poll.

PollAnswer

An answer to a poll.

PollOption

A poll option.

PreCheckoutQuery

A pre-checkout query.

PremiumSubscriptionDuration

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/.

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

Information on what a message is replying to.

RestrictionReason

The reason for restricting an entity.

SavedChat

Information on a saved chat.

SavedChats

A list of saved chats.

SelfDestructOption

A message self-destruct option.

ShippingAddress

A shipping address.

SlowModeDuration

A slow mode duration option.

StarAmount

A star amount.

StarTransaction

A star transaction.

StarTransactionList

A list of star transactions.

StarTransactionPeer

Any type of star transaction peer.

Sticker

A sticker.

StickerSet

A sticker (or emoji) set.

Story

A story.

StoryAlbum

A story album.

StoryAlbumIcon

A story album’s icon.

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

A successful payment.

SummarizedText

A summarized text.

SwitchInlineQueryChosenChats

Configuration for switching to inline mode in specific chat types.

Thumbnail

A file or sticker thumbnail.

Timezone

A timezone.

Topic

A forum topic.

Translation

A translation.

Update

An incoming update.

UploadProgress

The progress of an upload.

User

A user.

UserStatus

Any type of a user’s status.

Venue

A shared venue.

Video

A video file.

VideoChat

A video chat.

VideoNote

A video note.

Voice

A voice note.

VoiceTranscription

An audio transcription.

WorkingHours

The working hours of a business.

WorkingHoursInterval

A business working hour interval.