danog\MadelineProto\RPCError\SubscriptionExportMissingError: You cannot send a [bot subscription invoice](https://core.telegram.org/api/subscriptions#bot-subscriptions) directly, you may only create invoice links using [payments.exportInvoice](https://core.telegram.org/method/payments.exportInvoice).
Author: Daniil Gentili daniil@daniil.it
You cannot send a bot subscription invoice directly, you may only create invoice links using payments.exportInvoice.
Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise.
Always check the changelog when upgrading, and use tools like Psalm to easily upgrade your code.
Properties
$rpc:stringRPC error.$description:stringHuman-readable description of RPC error.$tlTrace:stringTL trace.
Method list:
getLocalization(): stringgetTLTrace(): stringgetMessage(): stringgetCode()getFile(): stringgetLine(): intgetTrace(): arraygetPrevious(): ?ThrowablegetTraceAsString(): string
Methods:
getLocalization(): string
Get localized error name.
getTLTrace(): string
Get TL trace.
getMessage(): string
getCode()
getFile(): string
getLine(): int
getTrace(): array
getPrevious(): ?Throwable
See also:
Throwable
getTraceAsString(): string
Generated by danog/phpdoc