mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-11 16:50:37 +01:00
30 lines
920 B
Markdown
30 lines
920 B
Markdown
|
---
|
||
|
title: "inputInvoiceSlug"
|
||
|
description: "An invoice slug taken from an invoice deep link or from the premium_invoice_slug app config parameter »"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: inputInvoiceSlug
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
An invoice slug taken from an [invoice deep link](https://core.telegram.org/api/links#invoice-links) or from the [`premium_invoice_slug` app config parameter »](https://core.telegram.org/api/config#premium-invoice-slug)
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|slug|[string](/API_docs/types/string.html) | Yes|The invoice slug|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [InputInvoice](/API_docs/types/InputInvoice.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$inputInvoiceSlug = ['_' => 'inputInvoiceSlug', 'slug' => 'string'];
|
||
|
```
|