StaticGramBot API

Все типы

400 объектов, которые принимает и возвращает Bot API.

Получение обновлений 2

ТипОписание
UpdateThis object represents an incoming update.
WebhookInfoDescribes the current status of a webhook.

Основные типы 236

ТипОписание
UserThis object represents a Telegram user or bot.
ChatThis object represents a chat.
ChatFullInfoThis object contains full information about a chat.
MessageThis object represents a message.
MessageIdThis object represents a unique message identifier.
InaccessibleMessageThis object describes a message that was deleted or is otherwise inaccessible to the bot.
MaybeInaccessibleMessageThis object describes a message that can be inaccessible to the bot.
MessageEntityThis object represents one special entity in a text message.
TextQuoteThis object contains information about the quoted part of a message that is replied to by the given message.
ExternalReplyInfoThis object contains information about a message that is being replied to, which may come from another chat or forum topic.
ReplyParametersDescribes reply parameters for the message that is being sent.
EphemeralMessageParameters
MessageOriginThis object describes the origin of a message.
MessageOriginUserThe message was originally sent by a known user.
MessageOriginHiddenUserThe message was originally sent by an unknown user.
MessageOriginChatThe message was originally sent on behalf of a chat to a group chat.
MessageOriginChannelThe message was originally sent to a channel chat.
PhotoSizeThis object represents one size of a photo or a file / sticker thumbnail.
AnimationThis object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).
AudioThis object represents an audio file to be treated as music by the Telegram clients.
DocumentThis object represents a general file (as opposed to photos , voice messages and audio files ).
LivePhotoThis object represents a live photo.
StoryThis object represents a story.
VideoQualityThis object represents a video file of a specific quality.
VideoThis object represents a video file.
VideoNoteThis object represents a video message .
VoiceThis object represents a voice note.
PaidMediaInfoDescribes the paid media added to a message.
PaidMediaThis object describes paid media.
PaidMediaLivePhotoThe paid media is a live photo .
PaidMediaPhotoThe paid media is a photo.
PaidMediaPreviewThe paid media isn't available before the payment.
PaidMediaVideoThe paid media is a video.
ContactThis object represents a phone contact.
DiceThis object represents an animated emoji that displays a random value.
LinkRepresents an HTTP link.
PollMediaAt most one of the optional fields can be present in any given object.
InputPollMediaThis object represents the content of a poll description or a quiz explanation to be sent.
InputPollOptionMediaThis object represents the content of a poll option to be sent.
PollOptionThis object contains information about one answer option in a poll.
InputPollOptionThis object contains information about one answer option in a poll to be sent.
PollAnswerThis object represents an answer of a user in a non-anonymous poll.
PollThis object contains information about a poll.
ChecklistTaskDescribes a task in a checklist.
ChecklistDescribes a checklist.
InputChecklistTaskDescribes a task to add to a checklist.
InputChecklistDescribes a checklist to create.
LocationThis object represents a point on the map.
VenueThis object represents a venue.
WebAppDataDescribes data sent from a Web App to the bot.
ProximityAlertTriggeredThis object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.
MessageAutoDeleteTimerChangedThis object represents a service message about a change in auto-delete timer settings.
ManagedBotCreatedThis object contains information about the bot that was created to be managed by the current bot.
ManagedBotUpdatedThis object contains information about the creation, token update, or owner update of a bot that is managed by the current bot.
BotSubscriptionUpdatedThis object contains information about changes to a user payment subscription toward the current bot.
MessageGenerationStoppedThis object describes an update about a user stopping message generation.
PollOptionAddedDescribes a service message about an option added to a poll.
PollOptionDeletedDescribes a service message about an option deleted from a poll.
ChatBoostAddedThis object represents a service message about a user boosting a chat.
BackgroundFillThis object describes the way a background is filled based on the selected colors.
BackgroundFillSolidThe background is filled using the selected color.
BackgroundFillGradientThe background is a gradient fill.
BackgroundFillFreeformGradientThe background is a freeform gradient that rotates after every message in the chat.
BackgroundTypeThis object describes the type of a background.
BackgroundTypeFillThe background is automatically filled based on the selected colors.
BackgroundTypeWallpaperThe background is a wallpaper in the JPEG format.
BackgroundTypePatternThe background is a .PNG or .TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user.
BackgroundTypeChatThemeThe background is taken directly from a built-in chat theme.
ChatBackgroundThis object represents a chat background.
ChecklistTasksDoneDescribes a service message about checklist tasks marked as done or not done.
ChecklistTasksAddedDescribes a service message about tasks added to a checklist.
CommunityChatAddedDescribes a service message about a chat or a bot being added to a community.
CommunityChatJoinedDescribes a service message about a chat being joined by a user from a community.
CommunityChatRemovedDescribes a service message about a chat or a bot being removed from a community.
ForumTopicCreatedThis object represents a service message about a new forum topic created in the chat.
ForumTopicClosedThis object represents a service message about a forum topic closed in the chat.
ForumTopicEditedThis object represents a service message about an edited forum topic.
ForumTopicReopenedThis object represents a service message about a forum topic reopened in the chat.
GeneralForumTopicHiddenThis object represents a service message about General forum topic hidden in the chat.
GeneralForumTopicUnhiddenThis object represents a service message about General forum topic unhidden in the chat.
SharedUserThis object contains information about a user that was shared with the bot using a KeyboardButtonRequestUsers button.
UsersSharedThis object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button.
ChatSharedThis object contains information about a chat that was shared with the bot using a KeyboardButtonRequestChat button.
WriteAccessAllowedThis object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an e...
VideoChatScheduledThis object represents a service message about a video chat scheduled in the chat.
VideoChatStartedThis object represents a service message about a video chat started in the chat.
VideoChatEndedThis object represents a service message about a video chat ended in the chat.
VideoChatParticipantsInvitedThis object represents a service message about new members invited to a video chat.
PaidMessagePriceChangedDescribes a service message about a change in the price of paid messages within a chat.
DirectMessagePriceChangedDescribes a service message about a change in the price of direct messages sent to a channel chat.
SuggestedPostApprovedDescribes a service message about the approval of a suggested post.
SuggestedPostApprovalFailedDescribes a service message about the failed approval of a suggested post.
SuggestedPostDeclinedDescribes a service message about the rejection of a suggested post.
SuggestedPostPaidDescribes a service message about a successful payment for a suggested post.
SuggestedPostRefundedDescribes a service message about a payment refund for a suggested post.
GiveawayCreatedThis object represents a service message about the creation of a scheduled giveaway.
GiveawayThis object represents a message about a scheduled giveaway.
GiveawayWinnersThis object represents a message about the completion of a giveaway with public winners.
GiveawayCompletedThis object represents a service message about the completion of a giveaway without public winners.
LinkPreviewOptionsDescribes the options used for link preview generation.
SuggestedPostPriceDescribes the price of a suggested post.
SuggestedPostInfoContains information about a suggested post.
SuggestedPostParametersContains parameters of a post that is being suggested by the bot.
DirectMessagesTopicDescribes a topic of a direct messages chat.
UserProfilePhotosThis object represent a user's profile pictures.
UserProfileAudiosThis object represents the audios displayed on a user's profile.
FileThis object represents a file ready to be downloaded.
WebAppInfoDescribes a Web App .
ReplyKeyboardMarkupThis object represents a custom keyboard with reply options (see Introduction to bots for details and examples).
KeyboardButtonThis object represents one button of the reply keyboard.
KeyboardButtonRequestUsersThis object defines the criteria used to request suitable users.
KeyboardButtonRequestChatThis object defines the criteria used to request a suitable chat.
KeyboardButtonRequestManagedBotThis object defines the parameters for the creation of a managed bot.
KeyboardButtonPollTypeThis object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.
ReplyKeyboardRemoveUpon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard.
InlineKeyboardMarkupThis object represents an inline keyboard that appears right next to the message it belongs to.
InlineKeyboardButtonThis object represents one button of an inline keyboard.
LoginUrlThis object represents a parameter of the inline keyboard button used to automatically authorize a user.
SwitchInlineQueryChosenChatThis object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.
CopyTextButtonThis object represents an inline keyboard button that copies specified text to the clipboard.
DisabledButtonThis object represents a disabled button which does nothing.
CallbackQueryThis object represents an incoming callback query from a callback button in an inline keyboard .
ForceReplyUpon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply').
CommunityRepresents a community (a group of chats).
ChatPhotoThis object represents a chat photo.
ChatInviteLinkRepresents an invite link for a chat.
ChatAdministratorRightsRepresents the rights of an administrator in a chat.
ChatMemberUpdatedThis object represents changes in the status of a chat member.
ChatMemberThis object contains information about one member of a chat.
ChatMemberOwnerRepresents a chat member that owns the chat and has all administrator privileges.
ChatMemberAdministratorRepresents a chat member that has some additional privileges.
ChatMemberMemberRepresents a chat member that has no additional privileges or restrictions.
ChatMemberRestrictedRepresents a chat member that is under certain restrictions in the chat.
ChatMemberLeftRepresents a chat member that isn't currently a member of the chat, but may join it themselves.
ChatMemberBannedRepresents a chat member that was banned in the chat and can't return to the chat or view chat messages.
ChatJoinRequestRepresents a join request sent to a chat.
ChatPermissionsDescribes actions that a non-administrator user is allowed to take in a chat.
BirthdateDescribes the birthdate of a user.
BusinessIntroContains information about the start page settings of a Telegram Business account.
BusinessLocationContains information about the location of a Telegram Business account.
BusinessOpeningHoursIntervalDescribes an interval of time during which a business is open.
BusinessOpeningHoursDescribes the opening hours of a business.
UserRatingThis object describes the rating of a user based on their Telegram Star spendings.
StoryAreaPositionDescribes the position of a clickable area within a story.
LocationAddressDescribes the physical address of a location.
StoryAreaTypeDescribes the type of a clickable area on a story.
StoryAreaTypeLocationDescribes a story area pointing to a location.
StoryAreaTypeSuggestedReactionDescribes a story area pointing to a suggested reaction.
StoryAreaTypeLinkDescribes a story area pointing to an HTTP or tg:// link.
StoryAreaTypeWeatherDescribes a story area containing weather information.
StoryAreaTypeUniqueGiftDescribes a story area pointing to a unique gift.
StoryAreaDescribes a clickable area on a story media.
ChatLocationRepresents a location to which a chat is connected.
ReactionTypeThis object describes the type of a reaction.
ReactionTypeEmojiThe reaction is based on an emoji.
ReactionTypeCustomEmojiThe reaction is based on a custom emoji.
ReactionTypePaidThe reaction is paid.
ReactionCountRepresents a reaction added to a message along with the number of times it was added.
MessageReactionUpdatedThis object represents a change of a reaction on a message performed by a user.
MessageReactionCountUpdatedThis object represents reaction changes on a message with anonymous reactions.
ForumTopicThis object represents a forum topic.
GiftBackgroundThis object describes the background of a gift.
GiftThis object represents a gift that can be sent by the bot.
GiftsThis object represent a list of gifts.
UniqueGiftModelThis object describes the model of a unique gift.
UniqueGiftSymbolThis object describes the symbol shown on the pattern of a unique gift.
UniqueGiftBackdropColorsThis object describes the colors of the backdrop of a unique gift.
UniqueGiftBackdropThis object describes the backdrop of a unique gift.
UniqueGiftColorsThis object contains information about the color scheme for a user's name, message replies and link previews based on a unique gift.
UniqueGiftThis object describes a unique gift that was upgraded from a regular gift.
GiftInfoDescribes a service message about a regular gift that was sent or received.
UniqueGiftInfoDescribes a service message about a unique gift that was sent or received.
OwnedGiftThis object describes a gift received and owned by a user or a chat.
OwnedGiftRegularDescribes a regular gift owned by a user or a chat.
OwnedGiftUniqueDescribes a unique gift received and owned by a user or a chat.
OwnedGiftsContains the list of gifts received and owned by a user or a chat.
BotAccessSettingsThis object describes the access settings of a bot.
AcceptedGiftTypesThis object describes the types of gifts that can be gifted to a user or a chat.
StarAmountDescribes an amount of Telegram Stars.
BotCommandThis object represents a bot command.
BotCommandScopeThis object represents the scope to which bot commands are applied.
BotCommandScopeDefaultRepresents the default scope of bot commands.
BotCommandScopeAllPrivateChatsRepresents the scope of bot commands, covering all private chats.
BotCommandScopeAllGroupChatsRepresents the scope of bot commands, covering all group and supergroup chats.
BotCommandScopeAllChatAdministratorsRepresents the scope of bot commands, covering all group and supergroup chat administrators.
BotCommandScopeChatRepresents the scope of bot commands, covering a specific chat.
BotCommandScopeChatAdministratorsRepresents the scope of bot commands, covering all administrators of a specific group or supergroup chat.
BotCommandScopeChatMemberRepresents the scope of bot commands, covering a specific member of a group or supergroup chat.
BotNameThis object represents the bot's name.
BotDescriptionThis object represents the bot's description.
BotShortDescriptionThis object represents the bot's short description.
MenuButtonThis object describes the bot's menu button in a private chat.
MenuButtonCommandsRepresents a menu button, which opens the bot's list of commands.
MenuButtonWebAppRepresents a menu button, which launches a Web App .
MenuButtonDefaultDescribes that no specific value for the menu button was set.
ChatBoostSourceThis object describes the source of a chat boost.
ChatBoostSourcePremiumThe boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.
ChatBoostSourceGiftCodeThe boost was obtained by the creation of Telegram Premium gift codes to boost a chat.
ChatBoostSourceGiveawayThe boost was obtained by the creation of a Telegram Premium or a Telegram Star giveaway.
ChatBoostThis object contains information about a chat boost.
ChatBoostUpdatedThis object represents a boost added to a chat or changed.
ChatBoostRemovedThis object represents a boost removed from a chat.
ChatOwnerLeftDescribes a service message about the chat owner leaving the chat.
ChatOwnerChangedDescribes a service message about an ownership change in the chat.
UserChatBoostsThis object represents a list of boosts added to a chat by a user.
BusinessBotRightsRepresents the rights of a business bot.
BusinessConnectionDescribes the connection of the bot with a business account.
BusinessMessagesDeletedThis object is received when messages are deleted from a connected business account.
SentWebAppMessageDescribes an inline message sent by a Web App on behalf of a user.
SentGuestMessageDescribes an inline message sent by a guest bot.
PreparedInlineMessageDescribes an inline message to be sent by a user of a Mini App.
PreparedKeyboardButtonDescribes a keyboard button to be used by a user of a Mini App.
ResponseParametersDescribes why a request was unsuccessful.
InputMediaThis object represents the content of a media message to be sent.
InputMediaAnimationRepresents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.
InputMediaAudioRepresents an audio file to be treated as music to be sent.
InputMediaDocumentRepresents a general file to be sent.
InputMediaLinkRepresents an HTTP link to be sent.
InputMediaLivePhotoRepresents a live photo to be sent.
InputMediaLocationRepresents a location to be sent.
InputMediaPhotoRepresents a photo to be sent.
InputMediaStickerRepresents a sticker file to be sent.
InputMediaVenueRepresents a venue to be sent.
InputMediaVideoRepresents a video to be sent.
InputMediaVoiceNoteRepresents a voice message file to be sent.
InputFileThis object represents the contents of a file to be uploaded.
InputPaidMediaThis object describes the paid media to be sent.
InputPaidMediaLivePhotoThe paid media to send is a live photo.
InputPaidMediaPhotoThe paid media to send is a photo.
InputPaidMediaVideoThe paid media to send is a video.
InputProfilePhotoThis object describes a profile photo to set.
InputProfilePhotoStaticA static profile photo in the .JPG format.
InputProfilePhotoAnimatedAn animated profile photo in the MPEG4 format.
InputStoryContentThis object describes the content of a story to post.
InputStoryContentPhotoDescribes a photo to post as a story.
InputStoryContentVideoDescribes a video to post as a story.

Стикеры 4

ТипОписание
StickerThis object represents a sticker.
StickerSetThis object represents a sticker set.
MaskPositionThis object describes the position on faces where a mask should be placed by default.
InputStickerThis object describes a sticker to be added to a sticker set.

Rich-сообщения 85

ТипОписание
RichMessageRich formatted message.
InputRichMessageDescribes a rich message to be sent.
InputRichMessageMediaDescribes a media element embedded in an outgoing rich message.
RichMessageButtonThis object represents a button in a RichMessage .
RichTextThis object represents a rich formatted text.
RichTextBoldA bold text.
RichTextItalicAn italicized text.
RichTextUnderlineAn underlined text.
RichTextStrikethroughA strikethrough text.
RichTextSpoilerA text covered by a spoiler.
RichTextDateTimeFormatted date and time.
RichTextTextMentionA mention of a Telegram user by their identifier.
RichTextSubscriptA subscript text.
RichTextSuperscriptA superscript text.
RichTextMarkedA marked text.
RichTextCodeA monowidth text.
RichTextCustomEmojiA custom emoji.
RichTextMathematicalExpressionA mathematical expression.
RichTextUrlA text with a link.
RichTextEmailAddressA text with an email address.
RichTextPhoneNumberA text with a phone number.
RichTextBankCardNumberA text with a bank card number.
RichTextMentionA mention by a username.
RichTextHashtagA hashtag.
RichTextCashtagA cashtag.
RichTextBotCommandA bot command.
RichTextButtonA button.
RichTextAnchorAn anchor.
RichTextAnchorLinkA link to an anchor.
RichTextReferenceA reference.
RichTextReferenceLinkA link to a reference.
RichBlockCaptionCaption of a rich formatted block.
RichBlockTableCellCell in a table.
RichBlockListItemAn item of a list.
RichBlockThis object represents a block in a rich formatted message.
RichBlockParagraphA text paragraph, corresponding to the HTML tag .
RichBlockSectionHeadingA section heading, corresponding to the HTML tags , , , , , or .
RichBlockPreformattedA preformatted text block, corresponding to the nested HTML tags and .
RichBlockFooterA footer, corresponding to the HTML tag .
RichBlockDividerA divider, corresponding to the HTML tag .
RichBlockMathematicalExpressionA block with a mathematical expression in LaTeX format, corresponding to the custom HTML tag .
RichBlockAnchorA block with an anchor, corresponding to the HTML tag with the attribute name .
RichBlockListA list of blocks, corresponding to the HTML tag or with multiple nested tags .
RichBlockBlockQuotationA block quotation, corresponding to the HTML tag .
RichBlockExpandableBlockQuotationA block quotation, corresponding to the HTML tag with custom attribute "expandable" .
RichBlockPullQuotationA quotation with centered text, loosely corresponding to the HTML tag .
RichBlockCollageA collage, corresponding to the custom HTML tag .
RichBlockSlideshowA slideshow, corresponding to the custom HTML tag .
RichBlockTableA table, corresponding to the HTML tag .
RichBlockDetailsAn expandable block for details disclosure, corresponding to the HTML tag .
RichBlockMapA block with a map, corresponding to the custom HTML tag .
RichBlockButtonsA block containing a list of buttons that are shown in one row, corresponding to the custom HTML tag .
RichBlockAnimationA block with an animation, corresponding to the HTML tag .
RichBlockAudioA block with a music file, corresponding to the HTML tag .
RichBlockDocumentA block with a general file, corresponding to the custom HTML tag .
RichBlockPhotoA block with a photo, corresponding to the HTML tag .
RichBlockVideoA block with a video, corresponding to the HTML tag .
RichBlockVoiceNoteA block with a voice note, corresponding to the HTML tag .
RichBlockThinkingA block with a “Thinking…” placeholder, corresponding to the custom HTML tag .
InputRichBlockListItemAn item of a list to be sent.
InputRichBlockThis object represents a block in a rich formatted message to be sent.
InputRichBlockParagraphA text paragraph, corresponding to the HTML tag .
InputRichBlockSectionHeadingA section heading, corresponding to the HTML tags , , , , , or .
InputRichBlockPreformattedA preformatted text block, corresponding to the nested HTML tags and .
InputRichBlockFooterA footer, corresponding to the HTML tag .
InputRichBlockDividerA divider, corresponding to the HTML tag .
InputRichBlockMathematicalExpressionA block with a mathematical expression in LaTeX format, corresponding to the custom HTML tag .
InputRichBlockAnchorA block with an anchor, corresponding to the HTML tag with the attribute name .
InputRichBlockListA list of blocks, corresponding to the HTML tag or with multiple nested tags .
InputRichBlockBlockQuotationA block quotation, corresponding to the HTML tag .
InputRichBlockExpandableBlockQuotationA block quotation, corresponding to the HTML tag with custom attribute "expandable" .
InputRichBlockPullQuotationA quotation with centered text, loosely corresponding to the HTML tag .
InputRichBlockCollageA collage, corresponding to the custom HTML tag .
InputRichBlockSlideshowA slideshow, corresponding to the custom HTML tag .
InputRichBlockTableA table, corresponding to the HTML tag .
InputRichBlockDetailsAn expandable block for details disclosure, corresponding to the HTML tag .
InputRichBlockMapA block with a map, corresponding to the custom HTML tag .
InputRichBlockButtonsA block containing a list of buttons that are shown in one row, corresponding to the custom HTML tag .
InputRichBlockAnimationA block with an animation, corresponding to the HTML tag .
InputRichBlockAudioA block with a music file, corresponding to the HTML tag .
InputRichBlockDocumentA block with a general file, corresponding to the custom HTML tag .
InputRichBlockPhotoA block with a photo, corresponding to the HTML tag .
InputRichBlockVideoA block with a video, corresponding to the HTML tag .
InputRichBlockVoiceNoteA block with a voice note, corresponding to the HTML tag .
InputRichBlockThinkingA block with a “Thinking…” placeholder, corresponding to the custom HTML tag .

Inline-режим 31

ТипОписание
InlineQueryThis object represents an incoming inline query.
InlineQueryResultsButtonThis object represents a button to be shown above inline query results.
InlineQueryResultThis object represents one result of an inline query.
InlineQueryResultArticleRepresents a link to an article or web page.
InlineQueryResultPhotoRepresents a link to a photo.
InlineQueryResultGifRepresents a link to an animated GIF file.
InlineQueryResultMpeg4GifRepresents a link to a video animation (H.264/MPEG-4 AVC video without sound).
InlineQueryResultVideoRepresents a link to a page containing an embedded video player or a video file.
InlineQueryResultAudioRepresents a link to an MP3 audio file.
InlineQueryResultVoiceRepresents a link to a voice recording in an .OGG container encoded with OPUS.
InlineQueryResultDocumentRepresents a link to a file.
InlineQueryResultLocationRepresents a location on a map.
InlineQueryResultVenueRepresents a venue.
InlineQueryResultContactRepresents a contact with a phone number.
InlineQueryResultGameRepresents a Game .
InlineQueryResultCachedPhotoRepresents a link to a photo stored on the Telegram servers.
InlineQueryResultCachedGifRepresents a link to an animated GIF file stored on the Telegram servers.
InlineQueryResultCachedMpeg4GifRepresents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers.
InlineQueryResultCachedStickerRepresents a link to a sticker stored on the Telegram servers.
InlineQueryResultCachedDocumentRepresents a link to a file stored on the Telegram servers.
InlineQueryResultCachedVideoRepresents a link to a video file stored on the Telegram servers.
InlineQueryResultCachedVoiceRepresents a link to a voice message stored on the Telegram servers.
InlineQueryResultCachedAudioRepresents a link to an MP3 audio file stored on the Telegram servers.
InputMessageContentThis object represents the content of a message to be sent as a result of an inline query.
InputTextMessageContentRepresents the content of a text message to be sent as the result of an inline query.
InputRichMessageContentRepresents the content of a rich message to be sent as the result of an inline query.
InputLocationMessageContentRepresents the content of a location message to be sent as the result of an inline query.
InputVenueMessageContentRepresents the content of a venue message to be sent as the result of an inline query.
InputContactMessageContentRepresents the content of a contact message to be sent as the result of an inline query.
InputInvoiceMessageContentRepresents the content of an invoice message to be sent as the result of an inline query.
ChosenInlineResultRepresents a result of an inline query that was chosen by the user and sent to their chat partner.

Платежи 25

ТипОписание
LabeledPriceThis object represents a portion of the price for goods or services.
InvoiceThis object contains basic information about an invoice.
ShippingAddressThis object represents a shipping address.
OrderInfoThis object represents information about an order.
ShippingOptionThis object represents one shipping option.
SuccessfulPaymentThis object contains basic information about a successful payment.
RefundedPaymentThis object contains basic information about a refunded payment.
ShippingQueryThis object contains information about an incoming shipping query.
PreCheckoutQueryThis object contains information about an incoming pre-checkout query.
PaidMediaPurchasedThis object contains information about a paid media purchase.
RevenueWithdrawalStateThis object describes the state of a revenue withdrawal operation.
RevenueWithdrawalStatePendingThe withdrawal is in progress.
RevenueWithdrawalStateSucceededThe withdrawal succeeded.
RevenueWithdrawalStateFailedThe withdrawal failed and the transaction was refunded.
AffiliateInfoContains information about the affiliate that received a commission via this transaction.
TransactionPartnerThis object describes the source of a transaction, or its recipient for outgoing transactions.
TransactionPartnerUserDescribes a transaction with a user.
TransactionPartnerChatDescribes a transaction with a chat.
TransactionPartnerAffiliateProgramDescribes the affiliate program that issued the affiliate commission received via this transaction.
TransactionPartnerFragmentDescribes a withdrawal transaction with Fragment.
TransactionPartnerTelegramAdsDescribes a withdrawal transaction to the Telegram Ads platform.
TransactionPartnerTelegramApiDescribes a transaction with payment for paid broadcasting .
TransactionPartnerOtherDescribes a transaction with an unknown source or recipient.
StarTransactionDescribes a Telegram Star transaction.
StarTransactionsContains a list of Telegram Star transactions.

Telegram Passport 14

ТипОписание
PassportDataDescribes Telegram Passport data shared with the bot by the user.
PassportFileThis object represents a file uploaded to Telegram Passport.
EncryptedPassportElementDescribes documents or other Telegram Passport elements shared with the bot by the user.
EncryptedCredentialsDescribes data required for decrypting and authenticating EncryptedPassportElement .
PassportElementErrorThis object represents an error in the Telegram Passport element which was submitted that should be resolved by the user.
PassportElementErrorDataFieldRepresents an issue in one of the data fields that was provided by the user.
PassportElementErrorFrontSideRepresents an issue with the front side of a document.
PassportElementErrorReverseSideRepresents an issue with the reverse side of a document.
PassportElementErrorSelfieRepresents an issue with the selfie with a document.
PassportElementErrorFileRepresents an issue with a document scan.
PassportElementErrorFilesRepresents an issue with a list of scans.
PassportElementErrorTranslationFileRepresents an issue with one of the files that constitute the translation of a document.
PassportElementErrorTranslationFilesRepresents an issue with the translated version of a document.
PassportElementErrorUnspecifiedRepresents an issue in an unspecified place.

Игры 3

ТипОписание
GameThis object represents a game.
CallbackGameA placeholder, currently holds no information.
GameHighScoreThis object represents one row of the high scores table for a game.

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top