Skip to content

payments.exportInvoice

No description provided by the pinned schema.

payments.exportInvoice#0f91b065 invoice_media:InputMedia = payments.ExportedInvoice;

payments.ExportedInvoice

NameTypeFlagDefaultDescription
invoice_mediaInputMediaNo description provided by the pinned schema.
from miniproto.raw.functions import PaymentsExportInvoice

Public access: miniproto.raw.functions.PaymentsExportInvoice.

from miniproto.raw.functions import PaymentsExportInvoice
# Naming the raw request class is local only; it performs no I/O or network request.
request_type = PaymentsExportInvoice

payments.ExportedInvoice

CodeErrorDescription
400BUSINESS_CONNECTION_INVALIDThe connection_id passed to the wrapping invokeWithBusinessConnection call is invalid.
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we’re a user, and users cannot invoke methods over a business connection; (2) we’re a bot, but business mode was disabled in @botfather or (3); we’re a bot, but this method cannot be invoked over a business connection.
400CURRENCY_TOTAL_AMOUNT_INVALIDThe total amount of all prices is invalid.
400INVOICE_PAYLOAD_INVALIDThe specified invoice payload is invalid.
400MEDIA_INVALIDMedia invalid.
400PAYMENT_PROVIDER_INVALIDThe specified payment provider is invalid.
400STARS_INVOICE_INVALIDThe specified Telegram Star invoice is invalid.
400USER_BOT_REQUIREDThis method can only be called by a bot.
400WEBDOCUMENT_MIME_INVALIDInvalid webdocument mime type provided.
400WEBDOCUMENT_URL_EMPTYThe passed web document URL is empty.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

InputMedia Known selected constructors: inputMediaContact, inputMediaDice, inputMediaDocument, inputMediaDocumentExternal, inputMediaEmpty, inputMediaGame, inputMediaGeoLive, inputMediaGeoPoint, inputMediaInvoice, inputMediaPaidMedia, inputMediaPhoto, inputMediaPhotoExternal, inputMediaPoll, inputMediaStakeDice, inputMediaStory, inputMediaTodo, inputMediaUploadedDocument, inputMediaUploadedPhoto, inputMediaVenue, inputMediaWebPage

payments.ExportedInvoice Known selected constructors: payments.exportedInvoice

bots.addPreviewMedia, bots.deletePreviewMedia, bots.editPreviewMedia, bots.reorderPreviewMedias, ephemeral.editMessage, ephemeral.sendMessage, messages.editInlineBotMessage, messages.editMessage, messages.saveDraft, messages.sendMedia, messages.uploadImportedMedia, messages.uploadMedia, stories.editStory, stories.sendStory

  • bot only
  • business supported
  • tdlib_vs_core: changed_count=68; core_only_count=1; overlap_count=2302; tdlib_only_count=158
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2448; tdesktop_only=null; tdlib_only=accessPointRule, ephemeral.editMessage, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret, updateEphemeralBotCallbackQuery