MTKruto Documentation

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.

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 current the 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.

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
ParseMode

Message parse mode.

Photo

A photo.

Poll

A poll.

PollOption

A poll option.

PriceTag

A price tag.

Reaction

A reaction type.

ReactionCount

The count of a specific reaction.

ReplyMarkup

A message’s reply markup.

ReplyQuote

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

RestrictionReason

The reason for restricting an entity.

SelfDestructOption
No Description
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.

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.