MadelineProtoDocs/docs/API_docs/constructors/inputTheme.md

40 lines
667 B
Markdown
Raw Normal View History

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