MadelineProtoDocs/docs/API_docs/constructors/inputThemeSlug.md

39 lines
647 B
Markdown

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