MadelineProtoDocs/old_docs/API_docs_v105/constructors/inputThemeSlug.md

39 lines
647 B
Markdown
Raw Normal View History

2019-09-13 17:13:55 +02:00
---
title: inputThemeSlug
2019-12-27 17:48:04 +01:00
description: Theme by theme ID
2019-09-13 17:13:55 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputThemeSlug
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Theme by theme ID
2019-09-13 17:13:55 +02:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|slug|[string](../types/string.md) | Yes|Unique theme ID|
2019-09-13 17:13:55 +02:00
### Type: [InputTheme](../types/InputTheme.md)
### Example:
```php
$inputThemeSlug = ['_' => 'inputThemeSlug', 'slug' => 'string'];
```
Or, if you're into Lua:
```lua
inputThemeSlug={_='inputThemeSlug', slug='string'}
```