1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 09:34:38 +01:00
MadelineProto/old_docs/API_docs_v38/constructors/inputUserSelf.md

34 lines
712 B
Markdown
Raw Normal View History

---
title: inputUserSelf
description: inputUserSelf attributes, type and example
---
## Constructor: inputUserSelf
[Back to constructors index](index.md)
### Type: [InputUser](../types/InputUser.md)
### Example:
```
$inputUserSelf = ['_' => 'inputUserSelf', ];
```
The following syntaxes can also be used:
```
$inputUserSelf = '@username'; // Username
$inputUserSelf = 44700; // bot API id (users)
$inputUserSelf = -492772765; // bot API id (chats)
$inputUserSelf = -10038575794; // bot API id (channels)
$inputUserSelf = 'user#44700'; // tg-cli style id (users)
$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats)
$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels)
```