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.

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.

ChosenInlineResult

A chosen inline result.

ConnectionState

A client’s connection state.

Contact

A shared contact.

Dice

A rolled dice.

Document

A document.

FailedInvitation

No Description

ForwardHeader

No Description

Game

A game.

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

A link preview.

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 to be returned as 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.

MessageReactions

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

MessageReference

Reference to a message.

MessageSearchFilter

No Description

MiniAppInfo

The necessary information to launch a mini app.

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.

Photo

A photo.

Poll

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.

SelfDestructOption

No Description

ShippingAddress

A shipping address.

Sticker

A sticker.

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

Update

An incoming update.

User

A user.

Venue

A shared venue.

Video

A video file.

VideoChat

No Description

VideoNote

A video note.

Voice

A voice note.