import { type MessageEntity } from "https://deno.land/x/grammy@v1.24.0/types.ts";
const { CommonMessageEntity } = MessageEntity;
Very Popular
conveniencecoreApiBotBotErrorComposerContextGrammyErrorHttpErrorInlineKeyboardInputFileKeyboardMemorySessionStorageApiClientOptionsApiConstantsBotConfigEnhanceLazySessionFlavorMiddlewareObjMigrationOptionsMigrationsPollingOptionsSessionFlavorSessionOptionsStorageAdapterTransformableApiWebhookOptionsWebhookReplyEnvelopeApiCallFnCallbackQueryContextCallbackQueryMiddlewareChatTypeContextChatTypeMiddlewareCommandContextCommandMiddlewareErrorHandlerFilterFilterQueryGameQueryContextGameQueryMiddlewareHearsContextHearsMiddlewareInlineQueryContextInlineQueryMiddlewareMiddlewareMiddlewareFnMultiSessionOptionsNextFunctionRawApiReactionContextReactionMiddlewareTransformerAPI_CONSTANTSInlineQueryResultBuilderInputMediaBuilderenhanceStoragelazySessionmatchFiltersessionwebhookCallbackBotErrorComposerMiddlewareObjCallbackQueryMiddlewareChatTypeMiddlewareChosenInlineResultMiddlewareCommandMiddlewareGameQueryMiddlewareHearsMiddlewareInlineQueryMiddlewareMiddlewareMiddlewareFnNextFunctionReactionMiddlewarerunContextCallbackQueryContextChatTypeContextChosenInlineResultContextCommandContextGameQueryContextHearsContextInlineQueryContextMaybeArrayReactionContextStringWithSuggestionsChatChatFullInfoInlineKeyboardButtonKeyboardButtonMessageMessageEntityUpdateInputFileAnimationApiErrorApiSuccessAudioBackgroundFillFreeformGradientBackgroundFillGradientBackgroundFillSolidBackgroundTypeChatThemeBackgroundTypeFillBackgroundTypePatternBackgroundTypeWallpaperBirthdateBotCommandBotCommandScopeAllChatAdministratorsBotCommandScopeAllGroupChatsBotCommandScopeAllPrivateChatsBotCommandScopeChatBotCommandScopeChatAdministratorsBotCommandScopeChatMemberBotCommandScopeDefaultBotDescriptionBotNameBotShortDescriptionBusinessConnectionBusinessIntroBusinessLocationBusinessMessagesDeletedBusinessOpeningHoursBusinessOpeningHoursIntervalCallbackGameCallbackQueryChatAdministratorRightsChatBackgroundChatBoostChatBoostAddedChatBoostRemovedChatBoostSourceGiftCodeChatBoostSourceGiveawayChatBoostSourcePremiumChatBoostUpdatedChatInviteLinkChatJoinRequestChatLocationChatMemberAdministratorChatMemberBannedChatMemberLeftChatMemberMemberChatMemberOwnerChatMemberRestrictedChatMemberUpdatedChatPermissionsChatPhotoChatSharedChosenInlineResultContactDiceDocumentEncryptedCredentialsEncryptedPassportElementExternalReplyInfoFileForceReplyForumTopicForumTopicClosedForumTopicCreatedForumTopicEditedForumTopicReopenedGameGameHighScoreGeneralForumTopicHiddenGeneralForumTopicUnhiddenGiveawayGiveawayCompletedGiveawayCreatedGiveawayWinnersInaccessibleMessageInlineKeyboardMarkupInlineQueryInlineQueryResultArticleInlineQueryResultAudioInlineQueryResultCachedAudioInlineQueryResultCachedDocumentInlineQueryResultCachedGifInlineQueryResultCachedMpeg4GifInlineQueryResultCachedPhotoInlineQueryResultCachedStickerInlineQueryResultCachedVideoInlineQueryResultCachedVoiceInlineQueryResultContactInlineQueryResultDocumentInlineQueryResultGameInlineQueryResultGifInlineQueryResultLocationInlineQueryResultMpeg4GifInlineQueryResultPhotoInlineQueryResultsButtonInlineQueryResultVenueInlineQueryResultVideoInlineQueryResultVoiceInputContactMessageContentInputInvoiceMessageContentInputLocationMessageContentInputMediaAnimationInputMediaAudioInputMediaDocumentInputMediaPhotoInputMediaVideoInputPollOptionInputStickerInputTextMessageContentInputVenueMessageContentInvoiceKeyboardButtonPollTypeKeyboardButtonRequestChatKeyboardButtonRequestUsersLabeledPriceLinkPreviewOptionsLocationLoginUrlMaskPositionMenuButtonCommandsMenuButtonDefaultMenuButtonWebAppMessageAutoDeleteTimerChangedMessageIdMessageOriginChannelMessageOriginChatMessageOriginHiddenUserMessageOriginUserMessageReactionCountUpdatedMessageReactionUpdatedOrderInfoPassportDataPassportElementErrorDataFieldPassportElementErrorFilePassportElementErrorFilesPassportElementErrorFrontSidePassportElementErrorReverseSidePassportElementErrorSelfiePassportElementErrorTranslationFilePassportElementErrorTranslationFilesPassportElementErrorUnspecifiedPassportFilePhotoSizePollPollAnswerPollOptionPreCheckoutQueryProximityAlertTriggeredReactionCountReactionTypeCustomEmojiReactionTypeEmojiReplyKeyboardMarkupReplyKeyboardRemoveReplyParametersResponseParametersSentWebAppMessageSharedUserShippingAddressShippingOptionShippingQueryStickerStickerSetStorySuccessfulPaymentSwitchInlineQueryChosenChatTextQuoteUserUserChatBoostsUserFromGetMeUserProfilePhotosUsersSharedVenueVideoVideoChatEndedVideoChatParticipantsInvitedVideoChatScheduledVideoChatStartedVideoNoteVoiceWebAppDataWebAppInfoWebhookInfoWriteAccessAllowedApiMethodsApiResponseBackgroundFillBackgroundTypeBotCommandScopeChatBoostSourceChatFromGetChatChatMemberInlineQueryResultInputMediaInputMessageContentMaybeInaccessibleMessageMenuButtonMessageOriginOptsParseModePassportElementErrorReactionTypeChatChatFullInfoInlineKeyboardButtonKeyboardButtonMessageMessageEntityUpdateInputFileAnimationApiErrorApiSuccessAudioBackgroundFillFreeformGradientBackgroundFillGradientBackgroundFillSolidBackgroundTypeChatThemeBackgroundTypeFillBackgroundTypePatternBackgroundTypeWallpaperBirthdateBotCommandBotCommandScopeAllChatAdministratorsBotCommandScopeAllGroupChatsBotCommandScopeAllPrivateChatsBotCommandScopeChatBotCommandScopeChatAdministratorsBotCommandScopeChatMemberBotCommandScopeDefaultBotDescriptionBotNameBotShortDescriptionBusinessConnectionBusinessIntroBusinessLocationBusinessMessagesDeletedBusinessOpeningHoursBusinessOpeningHoursIntervalCallbackGameCallbackQueryChatAdministratorRightsChatBackgroundChatBoostChatBoostAddedChatBoostRemovedChatBoostSourceGiftCodeChatBoostSourceGiveawayChatBoostSourcePremiumChatBoostUpdatedChatInviteLinkChatJoinRequestChatLocationChatMemberAdministratorChatMemberBannedChatMemberLeftChatMemberMemberChatMemberOwnerChatMemberRestrictedChatMemberUpdatedChatPermissionsChatPhotoChatSharedChosenInlineResultContactDiceDocumentEncryptedCredentialsEncryptedPassportElementExternalReplyInfoFileForceReplyForumTopicForumTopicClosedForumTopicCreatedForumTopicEditedForumTopicReopenedGameGameHighScoreGeneralForumTopicHiddenGeneralForumTopicUnhiddenGiveawayGiveawayCompletedGiveawayCreatedGiveawayWinnersInaccessibleMessageInlineKeyboardMarkupInlineQueryInlineQueryResultArticleInlineQueryResultAudioInlineQueryResultCachedAudioInlineQueryResultCachedDocumentInlineQueryResultCachedGifInlineQueryResultCachedMpeg4GifInlineQueryResultCachedPhotoInlineQueryResultCachedStickerInlineQueryResultCachedVideoInlineQueryResultCachedVoiceInlineQueryResultContactInlineQueryResultDocumentInlineQueryResultGameInlineQueryResultGifInlineQueryResultLocationInlineQueryResultMpeg4GifInlineQueryResultPhotoInlineQueryResultsButtonInlineQueryResultVenueInlineQueryResultVideoInlineQueryResultVoiceInputContactMessageContentInputInvoiceMessageContentInputLocationMessageContentInputMediaAnimationInputMediaAudioInputMediaDocumentInputMediaPhotoInputMediaVideoInputPollOptionInputStickerInputTextMessageContentInputVenueMessageContentInvoiceKeyboardButtonPollTypeKeyboardButtonRequestChatKeyboardButtonRequestUsersLabeledPriceLinkPreviewOptionsLocationLoginUrlMaskPositionMenuButtonCommandsMenuButtonDefaultMenuButtonWebAppMessageAutoDeleteTimerChangedMessageIdMessageOriginChannelMessageOriginChatMessageOriginHiddenUserMessageOriginUserMessageReactionCountUpdatedMessageReactionUpdatedOrderInfoPassportDataPassportElementErrorDataFieldPassportElementErrorFilePassportElementErrorFilesPassportElementErrorFrontSidePassportElementErrorReverseSidePassportElementErrorSelfiePassportElementErrorTranslationFilePassportElementErrorTranslationFilesPassportElementErrorUnspecifiedPassportFilePhotoSizePollPollAnswerPollOptionPreCheckoutQueryProximityAlertTriggeredReactionCountReactionTypeCustomEmojiReactionTypeEmojiReplyKeyboardMarkupReplyKeyboardRemoveReplyParametersResponseParametersSentWebAppMessageSharedUserShippingAddressShippingOptionShippingQueryStickerStickerSetStorySuccessfulPaymentSwitchInlineQueryChosenChatTextQuoteUserUserChatBoostsUserFromGetMeUserProfilePhotosUsersSharedVenueVideoVideoChatEndedVideoChatParticipantsInvitedVideoChatScheduledVideoChatStartedVideoNoteVoiceWebAppDataWebAppInfoWebhookInfoWriteAccessAllowedApiMethodsApiResponseBackgroundFillBackgroundTypeBotCommandScopeChatBoostSourceChatFromGetChatChatMemberInlineQueryResultInputMediaInputMessageContentMaybeInaccessibleMessageMenuButtonMessageOriginOptsParseModePassportElementErrorReactionTypeChatChatFullInfoInlineKeyboardButtonKeyboardButtonMessageMessageEntityUpdateInputFileAnimationApiErrorApiSuccessAudioBackgroundFillFreeformGradientBackgroundFillGradientBackgroundFillSolidBackgroundTypeChatThemeBackgroundTypeFillBackgroundTypePatternBackgroundTypeWallpaperBirthdateBotCommandBotCommandScopeAllChatAdministratorsBotCommandScopeAllGroupChatsBotCommandScopeAllPrivateChatsBotCommandScopeChatBotCommandScopeChatAdministratorsBotCommandScopeChatMemberBotCommandScopeDefaultBotDescriptionBotNameBotShortDescriptionBusinessConnectionBusinessIntroBusinessLocationBusinessMessagesDeletedBusinessOpeningHoursBusinessOpeningHoursIntervalCallbackGameCallbackQueryChatAdministratorRightsChatBackgroundChatBoostChatBoostAddedChatBoostRemovedChatBoostSourceGiftCodeChatBoostSourceGiveawayChatBoostSourcePremiumChatBoostUpdatedChatInviteLinkChatJoinRequestChatLocationChatMemberAdministratorChatMemberBannedChatMemberLeftChatMemberMemberChatMemberOwnerChatMemberRestrictedChatMemberUpdatedChatPermissionsChatPhotoChatSharedChosenInlineResultContactDiceDocumentEncryptedCredentialsEncryptedPassportElementExternalReplyInfoFileForceReplyForumTopicForumTopicClosedForumTopicCreatedForumTopicEditedForumTopicReopenedGameGameHighScoreGeneralForumTopicHiddenGeneralForumTopicUnhiddenGiveawayGiveawayCompletedGiveawayCreatedGiveawayWinnersInaccessibleMessageInlineKeyboardMarkupInlineQueryInlineQueryResultArticleInlineQueryResultAudioInlineQueryResultCachedAudioInlineQueryResultCachedDocumentInlineQueryResultCachedGifInlineQueryResultCachedMpeg4GifInlineQueryResultCachedPhotoInlineQueryResultCachedStickerInlineQueryResultCachedVideoInlineQueryResultCachedVoiceInlineQueryResultContactInlineQueryResultDocumentInlineQueryResultGameInlineQueryResultGifInlineQueryResultLocationInlineQueryResultMpeg4GifInlineQueryResultPhotoInlineQueryResultsButtonInlineQueryResultVenueInlineQueryResultVideoInlineQueryResultVoiceInputContactMessageContentInputInvoiceMessageContentInputLocationMessageContentInputMediaAnimationInputMediaAudioInputMediaDocumentInputMediaPhotoInputMediaVideoInputPollOptionInputStickerInputTextMessageContentInputVenueMessageContentInvoiceKeyboardButtonPollTypeKeyboardButtonRequestChatKeyboardButtonRequestUsersLabeledPriceLinkPreviewOptionsLocationLoginUrlMaskPositionMenuButtonCommandsMenuButtonDefaultMenuButtonWebAppMessageAutoDeleteTimerChangedMessageIdMessageOriginChannelMessageOriginChatMessageOriginHiddenUserMessageOriginUserMessageReactionCountUpdatedMessageReactionUpdatedOrderInfoPassportDataPassportElementErrorDataFieldPassportElementErrorFilePassportElementErrorFilesPassportElementErrorFrontSidePassportElementErrorReverseSidePassportElementErrorSelfiePassportElementErrorTranslationFilePassportElementErrorTranslationFilesPassportElementErrorUnspecifiedPassportFilePhotoSizePollPollAnswerPollOptionPreCheckoutQueryProximityAlertTriggeredReactionCountReactionTypeCustomEmojiReactionTypeEmojiReplyKeyboardMarkupReplyKeyboardRemoveReplyParametersResponseParametersSentWebAppMessageSharedUserShippingAddressShippingOptionShippingQueryStickerStickerSetStorySuccessfulPaymentSwitchInlineQueryChosenChatTextQuoteUserUserChatBoostsUserFromGetMeUserProfilePhotosUsersSharedVenueVideoVideoChatEndedVideoChatParticipantsInvitedVideoChatScheduledVideoChatStartedVideoNoteVoiceWebAppDataWebAppInfoWebhookInfoWriteAccessAllowedApiMethodsApiResponseBackgroundFillBackgroundTypeBotCommandScopeChatBoostSourceChatFromGetChatChatMemberInlineQueryResultInputMediaInputMessageContentMaybeInaccessibleM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