---
title: inputPeerSelf
description: Defines the current user.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPeerSelf  
[Back to constructors index](index.md)



Defines the current user.




### Type: [InputPeer](../types/InputPeer.md)


### Example:

```php
$inputPeerSelf = ['_' => 'inputPeerSelf'];
```  


Or, if you're into Lua:

```lua
inputPeerSelf={_='inputPeerSelf'}

```