Small documentation fixes

This commit is contained in:
danogentili 2017-02-12 20:32:28 +03:00
parent 30e87023d9
commit 23a6ce1383
432 changed files with 1459 additions and 4358 deletions

View File

@ -43,16 +43,3 @@ description: channel attributes, type and example
$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; $channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ];
``` ```
The following syntaxes can also be used:
```
$channel = '@username'; // Username
$channel = 44700; // bot API id (users)
$channel = -492772765; // bot API id (chats)
$channel = -10038575794; // bot API id (channels)
$channel = 'user#44700'; // tg-cli style id (users)
$channel = 'chat#492772765'; // tg-cli style id (chats)
$channel = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -28,16 +28,3 @@ description: channelForbidden attributes, type and example
$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, ]; $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, ];
``` ```
The following syntaxes can also be used:
```
$channelForbidden = '@username'; // Username
$channelForbidden = 44700; // bot API id (users)
$channelForbidden = -492772765; // bot API id (chats)
$channelForbidden = -10038575794; // bot API id (channels)
$channelForbidden = 'user#44700'; // tg-cli style id (users)
$channelForbidden = 'chat#492772765'; // tg-cli style id (chats)
$channelForbidden = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -36,16 +36,3 @@ description: chat attributes, type and example
$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; $chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ];
``` ```
The following syntaxes can also be used:
```
$chat = '@username'; // Username
$chat = 44700; // bot API id (users)
$chat = -492772765; // bot API id (chats)
$chat = -10038575794; // bot API id (channels)
$chat = 'user#44700'; // tg-cli style id (users)
$chat = 'chat#492772765'; // tg-cli style id (chats)
$chat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: chatEmpty attributes, type and example
$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ];
``` ```
The following syntaxes can also be used:
```
$chatEmpty = '@username'; // Username
$chatEmpty = 44700; // bot API id (users)
$chatEmpty = -492772765; // bot API id (chats)
$chatEmpty = -10038575794; // bot API id (channels)
$chatEmpty = 'user#44700'; // tg-cli style id (users)
$chatEmpty = 'chat#492772765'; // tg-cli style id (chats)
$chatEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -25,16 +25,3 @@ description: chatForbidden attributes, type and example
$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ];
``` ```
The following syntaxes can also be used:
```
$chatForbidden = '@username'; // Username
$chatForbidden = 44700; // bot API id (users)
$chatForbidden = -492772765; // bot API id (chats)
$chatForbidden = -10038575794; // bot API id (channels)
$chatForbidden = 'user#44700'; // tg-cli style id (users)
$chatForbidden = 'chat#492772765'; // tg-cli style id (chats)
$chatForbidden = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -25,16 +25,3 @@ description: inputChannel attributes, type and example
$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ];
``` ```
The following syntaxes can also be used:
```
$inputChannel = '@username'; // Username
$inputChannel = 44700; // bot API id (users)
$inputChannel = -492772765; // bot API id (chats)
$inputChannel = -10038575794; // bot API id (channels)
$inputChannel = 'user#44700'; // tg-cli style id (users)
$inputChannel = 'chat#492772765'; // tg-cli style id (chats)
$inputChannel = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputChannelEmpty attributes, type and example
$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; $inputChannelEmpty = ['_' => 'inputChannelEmpty', ];
``` ```
The following syntaxes can also be used:
```
$inputChannelEmpty = '@username'; // Username
$inputChannelEmpty = 44700; // bot API id (users)
$inputChannelEmpty = -492772765; // bot API id (chats)
$inputChannelEmpty = -10038575794; // bot API id (channels)
$inputChannelEmpty = 'user#44700'; // tg-cli style id (users)
$inputChannelEmpty = 'chat#492772765'; // tg-cli style id (chats)
$inputChannelEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -25,16 +25,3 @@ description: inputPeerChannel attributes, type and example
$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ];
``` ```
The following syntaxes can also be used:
```
$inputPeerChannel = '@username'; // Username
$inputPeerChannel = 44700; // bot API id (users)
$inputPeerChannel = -492772765; // bot API id (chats)
$inputPeerChannel = -10038575794; // bot API id (channels)
$inputPeerChannel = 'user#44700'; // tg-cli style id (users)
$inputPeerChannel = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerChannel = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: inputPeerChat attributes, type and example
$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$inputPeerChat = '@username'; // Username
$inputPeerChat = 44700; // bot API id (users)
$inputPeerChat = -492772765; // bot API id (chats)
$inputPeerChat = -10038575794; // bot API id (channels)
$inputPeerChat = 'user#44700'; // tg-cli style id (users)
$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputPeerEmpty attributes, type and example
$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; $inputPeerEmpty = ['_' => 'inputPeerEmpty', ];
``` ```
The following syntaxes can also be used:
```
$inputPeerEmpty = '@username'; // Username
$inputPeerEmpty = 44700; // bot API id (users)
$inputPeerEmpty = -492772765; // bot API id (chats)
$inputPeerEmpty = -10038575794; // bot API id (channels)
$inputPeerEmpty = 'user#44700'; // tg-cli style id (users)
$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputPeerSelf attributes, type and example
$inputPeerSelf = ['_' => 'inputPeerSelf', ]; $inputPeerSelf = ['_' => 'inputPeerSelf', ];
``` ```
The following syntaxes can also be used:
```
$inputPeerSelf = '@username'; // Username
$inputPeerSelf = 44700; // bot API id (users)
$inputPeerSelf = -492772765; // bot API id (chats)
$inputPeerSelf = -10038575794; // bot API id (channels)
$inputPeerSelf = 'user#44700'; // tg-cli style id (users)
$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -25,16 +25,3 @@ description: inputPeerUser attributes, type and example
$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ];
``` ```
The following syntaxes can also be used:
```
$inputPeerUser = '@username'; // Username
$inputPeerUser = 44700; // bot API id (users)
$inputPeerUser = -492772765; // bot API id (chats)
$inputPeerUser = -10038575794; // bot API id (channels)
$inputPeerUser = 'user#44700'; // tg-cli style id (users)
$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -25,16 +25,3 @@ description: inputUser attributes, type and example
$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ];
``` ```
The following syntaxes can also be used:
```
$inputUser = '@username'; // Username
$inputUser = 44700; // bot API id (users)
$inputUser = -492772765; // bot API id (chats)
$inputUser = -10038575794; // bot API id (channels)
$inputUser = 'user#44700'; // tg-cli style id (users)
$inputUser = 'chat#492772765'; // tg-cli style id (chats)
$inputUser = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputUserEmpty attributes, type and example
$inputUserEmpty = ['_' => 'inputUserEmpty', ]; $inputUserEmpty = ['_' => 'inputUserEmpty', ];
``` ```
The following syntaxes can also be used:
```
$inputUserEmpty = '@username'; // Username
$inputUserEmpty = 44700; // bot API id (users)
$inputUserEmpty = -492772765; // bot API id (chats)
$inputUserEmpty = -10038575794; // bot API id (channels)
$inputUserEmpty = 'user#44700'; // tg-cli style id (users)
$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats)
$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputUserSelf attributes, type and example
$inputUserSelf = ['_' => 'inputUserSelf', ]; $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)
```

View File

@ -24,16 +24,3 @@ description: peerChannel attributes, type and example
$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$peerChannel = '@username'; // Username
$peerChannel = 44700; // bot API id (users)
$peerChannel = -492772765; // bot API id (chats)
$peerChannel = -10038575794; // bot API id (channels)
$peerChannel = 'user#44700'; // tg-cli style id (users)
$peerChannel = 'chat#492772765'; // tg-cli style id (chats)
$peerChannel = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: peerChat attributes, type and example
$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; $peerChat = ['_' => 'peerChat', 'chat_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$peerChat = '@username'; // Username
$peerChat = 44700; // bot API id (users)
$peerChat = -492772765; // bot API id (chats)
$peerChat = -10038575794; // bot API id (channels)
$peerChat = 'user#44700'; // tg-cli style id (users)
$peerChat = 'chat#492772765'; // tg-cli style id (chats)
$peerChat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: peerUser attributes, type and example
$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; $peerUser = ['_' => 'peerUser', 'user_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$peerUser = '@username'; // Username
$peerUser = 44700; // bot API id (users)
$peerUser = -492772765; // bot API id (chats)
$peerUser = -10038575794; // bot API id (channels)
$peerUser = 'user#44700'; // tg-cli style id (users)
$peerUser = 'chat#492772765'; // tg-cli style id (chats)
$peerUser = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -45,16 +45,3 @@ description: user attributes, type and example
$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'min' => true, 'bot_inline_geo' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; $user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'min' => true, 'bot_inline_geo' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ];
``` ```
The following syntaxes can also be used:
```
$user = '@username'; // Username
$user = 44700; // bot API id (users)
$user = -492772765; // bot API id (chats)
$user = -10038575794; // bot API id (channels)
$user = 'user#44700'; // tg-cli style id (users)
$user = 'chat#492772765'; // tg-cli style id (chats)
$user = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: userEmpty attributes, type and example
$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; $userEmpty = ['_' => 'userEmpty', 'id' => int, ];
``` ```
The following syntaxes can also be used:
```
$userEmpty = '@username'; // Username
$userEmpty = 44700; // bot API id (users)
$userEmpty = -492772765; // bot API id (chats)
$userEmpty = -10038575794; // bot API id (channels)
$userEmpty = 'user#44700'; // tg-cli style id (users)
$userEmpty = 'chat#492772765'; // tg-cli style id (chats)
$userEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -7,6 +7,21 @@ description: constructors and methods of type Chat
The following syntaxes can also be used:
```
$phoneCallDiscardReasonBusy = '@username'; // Username
$phoneCallDiscardReasonBusy = 44700; // bot API id (users)
$phoneCallDiscardReasonBusy = -492772765; // bot API id (chats)
$phoneCallDiscardReasonBusy = -10038575794; // bot API id (channels)
$phoneCallDiscardReasonBusy = 'user#44700'; // tg-cli style id (users)
$phoneCallDiscardReasonBusy = 'chat#492772765'; // tg-cli style id (chats)
$phoneCallDiscardReasonBusy = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[chatEmpty](../constructors/chatEmpty.md) [chatEmpty](../constructors/chatEmpty.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type InputChannel
The following syntaxes can also be used:
```
$phoneCallDiscardReasonBusy = '@username'; // Username
$phoneCallDiscardReasonBusy = 44700; // bot API id (users)
$phoneCallDiscardReasonBusy = -492772765; // bot API id (chats)
$phoneCallDiscardReasonBusy = -10038575794; // bot API id (channels)
$phoneCallDiscardReasonBusy = 'user#44700'; // tg-cli style id (users)
$phoneCallDiscardReasonBusy = 'chat#492772765'; // tg-cli style id (chats)
$phoneCallDiscardReasonBusy = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[inputChannelEmpty](../constructors/inputChannelEmpty.md) [inputChannelEmpty](../constructors/inputChannelEmpty.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type InputPeer
The following syntaxes can also be used:
```
$phoneCallDiscardReasonBusy = '@username'; // Username
$phoneCallDiscardReasonBusy = 44700; // bot API id (users)
$phoneCallDiscardReasonBusy = -492772765; // bot API id (chats)
$phoneCallDiscardReasonBusy = -10038575794; // bot API id (channels)
$phoneCallDiscardReasonBusy = 'user#44700'; // tg-cli style id (users)
$phoneCallDiscardReasonBusy = 'chat#492772765'; // tg-cli style id (chats)
$phoneCallDiscardReasonBusy = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[inputPeerEmpty](../constructors/inputPeerEmpty.md) [inputPeerEmpty](../constructors/inputPeerEmpty.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type InputUser
The following syntaxes can also be used:
```
$phoneCallDiscardReasonBusy = '@username'; // Username
$phoneCallDiscardReasonBusy = 44700; // bot API id (users)
$phoneCallDiscardReasonBusy = -492772765; // bot API id (chats)
$phoneCallDiscardReasonBusy = -10038575794; // bot API id (channels)
$phoneCallDiscardReasonBusy = 'user#44700'; // tg-cli style id (users)
$phoneCallDiscardReasonBusy = 'chat#492772765'; // tg-cli style id (chats)
$phoneCallDiscardReasonBusy = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[inputUserEmpty](../constructors/inputUserEmpty.md) [inputUserEmpty](../constructors/inputUserEmpty.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type Peer
The following syntaxes can also be used:
```
$phoneCallDiscardReasonBusy = '@username'; // Username
$phoneCallDiscardReasonBusy = 44700; // bot API id (users)
$phoneCallDiscardReasonBusy = -492772765; // bot API id (chats)
$phoneCallDiscardReasonBusy = -10038575794; // bot API id (channels)
$phoneCallDiscardReasonBusy = 'user#44700'; // tg-cli style id (users)
$phoneCallDiscardReasonBusy = 'chat#492772765'; // tg-cli style id (chats)
$phoneCallDiscardReasonBusy = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[peerUser](../constructors/peerUser.md) [peerUser](../constructors/peerUser.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type User
The following syntaxes can also be used:
```
$phoneCallDiscardReasonBusy = '@username'; // Username
$phoneCallDiscardReasonBusy = 44700; // bot API id (users)
$phoneCallDiscardReasonBusy = -492772765; // bot API id (chats)
$phoneCallDiscardReasonBusy = -10038575794; // bot API id (channels)
$phoneCallDiscardReasonBusy = 'user#44700'; // tg-cli style id (users)
$phoneCallDiscardReasonBusy = 'chat#492772765'; // tg-cli style id (chats)
$phoneCallDiscardReasonBusy = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[userEmpty](../constructors/userEmpty.md) [userEmpty](../constructors/userEmpty.md)

View File

@ -16,7 +16,7 @@ PHP implementation of MTProto, based on [telepy](https://github.com/griganton/te
This project can run on PHP 7 and HHVM, only 64 bit systems are supported ATM. This project can run on PHP 7 and HHVM, only 64 bit systems are supported ATM.
Also note that MadelineProto will perform better if a big math extension like gmp or bcmath is installed. Also note that MadelineProto will perform better if python and a big math extension like gmp or bcmath are installed.
This project is in beta state. This project is in beta state.

View File

@ -30,16 +30,3 @@ description: chat attributes, type and example
$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; $chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ];
``` ```
The following syntaxes can also be used:
```
$chat = '@username'; // Username
$chat = 44700; // bot API id (users)
$chat = -492772765; // bot API id (chats)
$chat = -10038575794; // bot API id (channels)
$chat = 'user#44700'; // tg-cli style id (users)
$chat = 'chat#492772765'; // tg-cli style id (chats)
$chat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: chatEmpty attributes, type and example
$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ];
``` ```
The following syntaxes can also be used:
```
$chatEmpty = '@username'; // Username
$chatEmpty = 44700; // bot API id (users)
$chatEmpty = -492772765; // bot API id (chats)
$chatEmpty = -10038575794; // bot API id (channels)
$chatEmpty = 'user#44700'; // tg-cli style id (users)
$chatEmpty = 'chat#492772765'; // tg-cli style id (chats)
$chatEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -26,16 +26,3 @@ description: chatForbidden attributes, type and example
$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ];
``` ```
The following syntaxes can also be used:
```
$chatForbidden = '@username'; // Username
$chatForbidden = 44700; // bot API id (users)
$chatForbidden = -492772765; // bot API id (chats)
$chatForbidden = -10038575794; // bot API id (channels)
$chatForbidden = 'user#44700'; // tg-cli style id (users)
$chatForbidden = 'chat#492772765'; // tg-cli style id (chats)
$chatForbidden = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: inputPeerChat attributes, type and example
$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$inputPeerChat = '@username'; // Username
$inputPeerChat = 44700; // bot API id (users)
$inputPeerChat = -492772765; // bot API id (chats)
$inputPeerChat = -10038575794; // bot API id (channels)
$inputPeerChat = 'user#44700'; // tg-cli style id (users)
$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: inputPeerContact attributes, type and example
$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$inputPeerContact = '@username'; // Username
$inputPeerContact = 44700; // bot API id (users)
$inputPeerContact = -492772765; // bot API id (chats)
$inputPeerContact = -10038575794; // bot API id (channels)
$inputPeerContact = 'user#44700'; // tg-cli style id (users)
$inputPeerContact = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerContact = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputPeerEmpty attributes, type and example
$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; $inputPeerEmpty = ['_' => 'inputPeerEmpty', ];
``` ```
The following syntaxes can also be used:
```
$inputPeerEmpty = '@username'; // Username
$inputPeerEmpty = 44700; // bot API id (users)
$inputPeerEmpty = -492772765; // bot API id (chats)
$inputPeerEmpty = -10038575794; // bot API id (channels)
$inputPeerEmpty = 'user#44700'; // tg-cli style id (users)
$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -25,16 +25,3 @@ description: inputPeerForeign attributes, type and example
$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ];
``` ```
The following syntaxes can also be used:
```
$inputPeerForeign = '@username'; // Username
$inputPeerForeign = 44700; // bot API id (users)
$inputPeerForeign = -492772765; // bot API id (chats)
$inputPeerForeign = -10038575794; // bot API id (channels)
$inputPeerForeign = 'user#44700'; // tg-cli style id (users)
$inputPeerForeign = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerForeign = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputPeerSelf attributes, type and example
$inputPeerSelf = ['_' => 'inputPeerSelf', ]; $inputPeerSelf = ['_' => 'inputPeerSelf', ];
``` ```
The following syntaxes can also be used:
```
$inputPeerSelf = '@username'; // Username
$inputPeerSelf = 44700; // bot API id (users)
$inputPeerSelf = -492772765; // bot API id (chats)
$inputPeerSelf = -10038575794; // bot API id (channels)
$inputPeerSelf = 'user#44700'; // tg-cli style id (users)
$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: inputUserContact attributes, type and example
$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$inputUserContact = '@username'; // Username
$inputUserContact = 44700; // bot API id (users)
$inputUserContact = -492772765; // bot API id (chats)
$inputUserContact = -10038575794; // bot API id (channels)
$inputUserContact = 'user#44700'; // tg-cli style id (users)
$inputUserContact = 'chat#492772765'; // tg-cli style id (chats)
$inputUserContact = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputUserEmpty attributes, type and example
$inputUserEmpty = ['_' => 'inputUserEmpty', ]; $inputUserEmpty = ['_' => 'inputUserEmpty', ];
``` ```
The following syntaxes can also be used:
```
$inputUserEmpty = '@username'; // Username
$inputUserEmpty = 44700; // bot API id (users)
$inputUserEmpty = -492772765; // bot API id (chats)
$inputUserEmpty = -10038575794; // bot API id (channels)
$inputUserEmpty = 'user#44700'; // tg-cli style id (users)
$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats)
$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -25,16 +25,3 @@ description: inputUserForeign attributes, type and example
$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ];
``` ```
The following syntaxes can also be used:
```
$inputUserForeign = '@username'; // Username
$inputUserForeign = 44700; // bot API id (users)
$inputUserForeign = -492772765; // bot API id (chats)
$inputUserForeign = -10038575794; // bot API id (channels)
$inputUserForeign = 'user#44700'; // tg-cli style id (users)
$inputUserForeign = 'chat#492772765'; // tg-cli style id (chats)
$inputUserForeign = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputUserSelf attributes, type and example
$inputUserSelf = ['_' => 'inputUserSelf', ]; $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)
```

View File

@ -24,16 +24,3 @@ description: peerChat attributes, type and example
$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; $peerChat = ['_' => 'peerChat', 'chat_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$peerChat = '@username'; // Username
$peerChat = 44700; // bot API id (users)
$peerChat = -492772765; // bot API id (chats)
$peerChat = -10038575794; // bot API id (channels)
$peerChat = 'user#44700'; // tg-cli style id (users)
$peerChat = 'chat#492772765'; // tg-cli style id (chats)
$peerChat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: peerUser attributes, type and example
$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; $peerUser = ['_' => 'peerUser', 'user_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$peerUser = '@username'; // Username
$peerUser = 44700; // bot API id (users)
$peerUser = -492772765; // bot API id (chats)
$peerUser = -10038575794; // bot API id (channels)
$peerUser = 'user#44700'; // tg-cli style id (users)
$peerUser = 'chat#492772765'; // tg-cli style id (chats)
$peerUser = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -31,16 +31,3 @@ description: userContact attributes, type and example
$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
``` ```
The following syntaxes can also be used:
```
$userContact = '@username'; // Username
$userContact = 44700; // bot API id (users)
$userContact = -492772765; // bot API id (chats)
$userContact = -10038575794; // bot API id (channels)
$userContact = 'user#44700'; // tg-cli style id (users)
$userContact = 'chat#492772765'; // tg-cli style id (chats)
$userContact = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -27,16 +27,3 @@ description: userDeleted attributes, type and example
$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ];
``` ```
The following syntaxes can also be used:
```
$userDeleted = '@username'; // Username
$userDeleted = 44700; // bot API id (users)
$userDeleted = -492772765; // bot API id (chats)
$userDeleted = -10038575794; // bot API id (channels)
$userDeleted = 'user#44700'; // tg-cli style id (users)
$userDeleted = 'chat#492772765'; // tg-cli style id (chats)
$userDeleted = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: userEmpty attributes, type and example
$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; $userEmpty = ['_' => 'userEmpty', 'id' => int, ];
``` ```
The following syntaxes can also be used:
```
$userEmpty = '@username'; // Username
$userEmpty = 44700; // bot API id (users)
$userEmpty = -492772765; // bot API id (chats)
$userEmpty = -10038575794; // bot API id (channels)
$userEmpty = 'user#44700'; // tg-cli style id (users)
$userEmpty = 'chat#492772765'; // tg-cli style id (chats)
$userEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -30,16 +30,3 @@ description: userForeign attributes, type and example
$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
``` ```
The following syntaxes can also be used:
```
$userForeign = '@username'; // Username
$userForeign = 44700; // bot API id (users)
$userForeign = -492772765; // bot API id (chats)
$userForeign = -10038575794; // bot API id (channels)
$userForeign = 'user#44700'; // tg-cli style id (users)
$userForeign = 'chat#492772765'; // tg-cli style id (chats)
$userForeign = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -31,16 +31,3 @@ description: userRequest attributes, type and example
$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
``` ```
The following syntaxes can also be used:
```
$userRequest = '@username'; // Username
$userRequest = 44700; // bot API id (users)
$userRequest = -492772765; // bot API id (chats)
$userRequest = -10038575794; // bot API id (channels)
$userRequest = 'user#44700'; // tg-cli style id (users)
$userRequest = 'chat#492772765'; // tg-cli style id (chats)
$userRequest = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -31,16 +31,3 @@ description: userSelf attributes, type and example
$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool, ]; $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool, ];
``` ```
The following syntaxes can also be used:
```
$userSelf = '@username'; // Username
$userSelf = 44700; // bot API id (users)
$userSelf = -492772765; // bot API id (chats)
$userSelf = -10038575794; // bot API id (channels)
$userSelf = 'user#44700'; // tg-cli style id (users)
$userSelf = 'chat#492772765'; // tg-cli style id (chats)
$userSelf = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -7,6 +7,21 @@ description: constructors and methods of type Chat
The following syntaxes can also be used:
```
$updateServiceNotification = '@username'; // Username
$updateServiceNotification = 44700; // bot API id (users)
$updateServiceNotification = -492772765; // bot API id (chats)
$updateServiceNotification = -10038575794; // bot API id (channels)
$updateServiceNotification = 'user#44700'; // tg-cli style id (users)
$updateServiceNotification = 'chat#492772765'; // tg-cli style id (chats)
$updateServiceNotification = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[chatEmpty](../constructors/chatEmpty.md) [chatEmpty](../constructors/chatEmpty.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type InputPeer
The following syntaxes can also be used:
```
$updateServiceNotification = '@username'; // Username
$updateServiceNotification = 44700; // bot API id (users)
$updateServiceNotification = -492772765; // bot API id (chats)
$updateServiceNotification = -10038575794; // bot API id (channels)
$updateServiceNotification = 'user#44700'; // tg-cli style id (users)
$updateServiceNotification = 'chat#492772765'; // tg-cli style id (chats)
$updateServiceNotification = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[inputPeerEmpty](../constructors/inputPeerEmpty.md) [inputPeerEmpty](../constructors/inputPeerEmpty.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type InputUser
The following syntaxes can also be used:
```
$updateServiceNotification = '@username'; // Username
$updateServiceNotification = 44700; // bot API id (users)
$updateServiceNotification = -492772765; // bot API id (chats)
$updateServiceNotification = -10038575794; // bot API id (channels)
$updateServiceNotification = 'user#44700'; // tg-cli style id (users)
$updateServiceNotification = 'chat#492772765'; // tg-cli style id (chats)
$updateServiceNotification = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[inputUserEmpty](../constructors/inputUserEmpty.md) [inputUserEmpty](../constructors/inputUserEmpty.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type Peer
The following syntaxes can also be used:
```
$updateServiceNotification = '@username'; // Username
$updateServiceNotification = 44700; // bot API id (users)
$updateServiceNotification = -492772765; // bot API id (chats)
$updateServiceNotification = -10038575794; // bot API id (channels)
$updateServiceNotification = 'user#44700'; // tg-cli style id (users)
$updateServiceNotification = 'chat#492772765'; // tg-cli style id (chats)
$updateServiceNotification = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[peerUser](../constructors/peerUser.md) [peerUser](../constructors/peerUser.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type User
The following syntaxes can also be used:
```
$updateServiceNotification = '@username'; // Username
$updateServiceNotification = 44700; // bot API id (users)
$updateServiceNotification = -492772765; // bot API id (chats)
$updateServiceNotification = -10038575794; // bot API id (channels)
$updateServiceNotification = 'user#44700'; // tg-cli style id (users)
$updateServiceNotification = 'chat#492772765'; // tg-cli style id (chats)
$updateServiceNotification = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[userEmpty](../constructors/userEmpty.md) [userEmpty](../constructors/userEmpty.md)

View File

@ -30,16 +30,3 @@ description: chat attributes, type and example
$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; $chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ];
``` ```
The following syntaxes can also be used:
```
$chat = '@username'; // Username
$chat = 44700; // bot API id (users)
$chat = -492772765; // bot API id (chats)
$chat = -10038575794; // bot API id (channels)
$chat = 'user#44700'; // tg-cli style id (users)
$chat = 'chat#492772765'; // tg-cli style id (chats)
$chat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: chatEmpty attributes, type and example
$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ];
``` ```
The following syntaxes can also be used:
```
$chatEmpty = '@username'; // Username
$chatEmpty = 44700; // bot API id (users)
$chatEmpty = -492772765; // bot API id (chats)
$chatEmpty = -10038575794; // bot API id (channels)
$chatEmpty = 'user#44700'; // tg-cli style id (users)
$chatEmpty = 'chat#492772765'; // tg-cli style id (chats)
$chatEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -26,16 +26,3 @@ description: chatForbidden attributes, type and example
$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ];
``` ```
The following syntaxes can also be used:
```
$chatForbidden = '@username'; // Username
$chatForbidden = 44700; // bot API id (users)
$chatForbidden = -492772765; // bot API id (chats)
$chatForbidden = -10038575794; // bot API id (channels)
$chatForbidden = 'user#44700'; // tg-cli style id (users)
$chatForbidden = 'chat#492772765'; // tg-cli style id (chats)
$chatForbidden = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: inputPeerChat attributes, type and example
$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$inputPeerChat = '@username'; // Username
$inputPeerChat = 44700; // bot API id (users)
$inputPeerChat = -492772765; // bot API id (chats)
$inputPeerChat = -10038575794; // bot API id (channels)
$inputPeerChat = 'user#44700'; // tg-cli style id (users)
$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: inputPeerContact attributes, type and example
$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$inputPeerContact = '@username'; // Username
$inputPeerContact = 44700; // bot API id (users)
$inputPeerContact = -492772765; // bot API id (chats)
$inputPeerContact = -10038575794; // bot API id (channels)
$inputPeerContact = 'user#44700'; // tg-cli style id (users)
$inputPeerContact = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerContact = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputPeerEmpty attributes, type and example
$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; $inputPeerEmpty = ['_' => 'inputPeerEmpty', ];
``` ```
The following syntaxes can also be used:
```
$inputPeerEmpty = '@username'; // Username
$inputPeerEmpty = 44700; // bot API id (users)
$inputPeerEmpty = -492772765; // bot API id (chats)
$inputPeerEmpty = -10038575794; // bot API id (channels)
$inputPeerEmpty = 'user#44700'; // tg-cli style id (users)
$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -25,16 +25,3 @@ description: inputPeerForeign attributes, type and example
$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ];
``` ```
The following syntaxes can also be used:
```
$inputPeerForeign = '@username'; // Username
$inputPeerForeign = 44700; // bot API id (users)
$inputPeerForeign = -492772765; // bot API id (chats)
$inputPeerForeign = -10038575794; // bot API id (channels)
$inputPeerForeign = 'user#44700'; // tg-cli style id (users)
$inputPeerForeign = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerForeign = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputPeerSelf attributes, type and example
$inputPeerSelf = ['_' => 'inputPeerSelf', ]; $inputPeerSelf = ['_' => 'inputPeerSelf', ];
``` ```
The following syntaxes can also be used:
```
$inputPeerSelf = '@username'; // Username
$inputPeerSelf = 44700; // bot API id (users)
$inputPeerSelf = -492772765; // bot API id (chats)
$inputPeerSelf = -10038575794; // bot API id (channels)
$inputPeerSelf = 'user#44700'; // tg-cli style id (users)
$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: inputUserContact attributes, type and example
$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$inputUserContact = '@username'; // Username
$inputUserContact = 44700; // bot API id (users)
$inputUserContact = -492772765; // bot API id (chats)
$inputUserContact = -10038575794; // bot API id (channels)
$inputUserContact = 'user#44700'; // tg-cli style id (users)
$inputUserContact = 'chat#492772765'; // tg-cli style id (chats)
$inputUserContact = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputUserEmpty attributes, type and example
$inputUserEmpty = ['_' => 'inputUserEmpty', ]; $inputUserEmpty = ['_' => 'inputUserEmpty', ];
``` ```
The following syntaxes can also be used:
```
$inputUserEmpty = '@username'; // Username
$inputUserEmpty = 44700; // bot API id (users)
$inputUserEmpty = -492772765; // bot API id (chats)
$inputUserEmpty = -10038575794; // bot API id (channels)
$inputUserEmpty = 'user#44700'; // tg-cli style id (users)
$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats)
$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -25,16 +25,3 @@ description: inputUserForeign attributes, type and example
$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ];
``` ```
The following syntaxes can also be used:
```
$inputUserForeign = '@username'; // Username
$inputUserForeign = 44700; // bot API id (users)
$inputUserForeign = -492772765; // bot API id (chats)
$inputUserForeign = -10038575794; // bot API id (channels)
$inputUserForeign = 'user#44700'; // tg-cli style id (users)
$inputUserForeign = 'chat#492772765'; // tg-cli style id (chats)
$inputUserForeign = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputUserSelf attributes, type and example
$inputUserSelf = ['_' => 'inputUserSelf', ]; $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)
```

View File

@ -24,16 +24,3 @@ description: peerChat attributes, type and example
$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; $peerChat = ['_' => 'peerChat', 'chat_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$peerChat = '@username'; // Username
$peerChat = 44700; // bot API id (users)
$peerChat = -492772765; // bot API id (chats)
$peerChat = -10038575794; // bot API id (channels)
$peerChat = 'user#44700'; // tg-cli style id (users)
$peerChat = 'chat#492772765'; // tg-cli style id (chats)
$peerChat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: peerUser attributes, type and example
$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; $peerUser = ['_' => 'peerUser', 'user_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$peerUser = '@username'; // Username
$peerUser = 44700; // bot API id (users)
$peerUser = -492772765; // bot API id (chats)
$peerUser = -10038575794; // bot API id (channels)
$peerUser = 'user#44700'; // tg-cli style id (users)
$peerUser = 'chat#492772765'; // tg-cli style id (chats)
$peerUser = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -31,16 +31,3 @@ description: userContact attributes, type and example
$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
``` ```
The following syntaxes can also be used:
```
$userContact = '@username'; // Username
$userContact = 44700; // bot API id (users)
$userContact = -492772765; // bot API id (chats)
$userContact = -10038575794; // bot API id (channels)
$userContact = 'user#44700'; // tg-cli style id (users)
$userContact = 'chat#492772765'; // tg-cli style id (chats)
$userContact = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -27,16 +27,3 @@ description: userDeleted attributes, type and example
$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ];
``` ```
The following syntaxes can also be used:
```
$userDeleted = '@username'; // Username
$userDeleted = 44700; // bot API id (users)
$userDeleted = -492772765; // bot API id (chats)
$userDeleted = -10038575794; // bot API id (channels)
$userDeleted = 'user#44700'; // tg-cli style id (users)
$userDeleted = 'chat#492772765'; // tg-cli style id (chats)
$userDeleted = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: userEmpty attributes, type and example
$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; $userEmpty = ['_' => 'userEmpty', 'id' => int, ];
``` ```
The following syntaxes can also be used:
```
$userEmpty = '@username'; // Username
$userEmpty = 44700; // bot API id (users)
$userEmpty = -492772765; // bot API id (chats)
$userEmpty = -10038575794; // bot API id (channels)
$userEmpty = 'user#44700'; // tg-cli style id (users)
$userEmpty = 'chat#492772765'; // tg-cli style id (chats)
$userEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -30,16 +30,3 @@ description: userForeign attributes, type and example
$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
``` ```
The following syntaxes can also be used:
```
$userForeign = '@username'; // Username
$userForeign = 44700; // bot API id (users)
$userForeign = -492772765; // bot API id (chats)
$userForeign = -10038575794; // bot API id (channels)
$userForeign = 'user#44700'; // tg-cli style id (users)
$userForeign = 'chat#492772765'; // tg-cli style id (chats)
$userForeign = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -31,16 +31,3 @@ description: userRequest attributes, type and example
$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
``` ```
The following syntaxes can also be used:
```
$userRequest = '@username'; // Username
$userRequest = 44700; // bot API id (users)
$userRequest = -492772765; // bot API id (chats)
$userRequest = -10038575794; // bot API id (channels)
$userRequest = 'user#44700'; // tg-cli style id (users)
$userRequest = 'chat#492772765'; // tg-cli style id (chats)
$userRequest = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -31,16 +31,3 @@ description: userSelf attributes, type and example
$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool, ]; $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool, ];
``` ```
The following syntaxes can also be used:
```
$userSelf = '@username'; // Username
$userSelf = 44700; // bot API id (users)
$userSelf = -492772765; // bot API id (chats)
$userSelf = -10038575794; // bot API id (channels)
$userSelf = 'user#44700'; // tg-cli style id (users)
$userSelf = 'chat#492772765'; // tg-cli style id (chats)
$userSelf = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -7,6 +7,21 @@ description: constructors and methods of type Chat
The following syntaxes can also be used:
```
$disabledFeature = '@username'; // Username
$disabledFeature = 44700; // bot API id (users)
$disabledFeature = -492772765; // bot API id (chats)
$disabledFeature = -10038575794; // bot API id (channels)
$disabledFeature = 'user#44700'; // tg-cli style id (users)
$disabledFeature = 'chat#492772765'; // tg-cli style id (chats)
$disabledFeature = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[chatEmpty](../constructors/chatEmpty.md) [chatEmpty](../constructors/chatEmpty.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type InputPeer
The following syntaxes can also be used:
```
$disabledFeature = '@username'; // Username
$disabledFeature = 44700; // bot API id (users)
$disabledFeature = -492772765; // bot API id (chats)
$disabledFeature = -10038575794; // bot API id (channels)
$disabledFeature = 'user#44700'; // tg-cli style id (users)
$disabledFeature = 'chat#492772765'; // tg-cli style id (chats)
$disabledFeature = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[inputPeerEmpty](../constructors/inputPeerEmpty.md) [inputPeerEmpty](../constructors/inputPeerEmpty.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type InputUser
The following syntaxes can also be used:
```
$disabledFeature = '@username'; // Username
$disabledFeature = 44700; // bot API id (users)
$disabledFeature = -492772765; // bot API id (chats)
$disabledFeature = -10038575794; // bot API id (channels)
$disabledFeature = 'user#44700'; // tg-cli style id (users)
$disabledFeature = 'chat#492772765'; // tg-cli style id (chats)
$disabledFeature = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[inputUserEmpty](../constructors/inputUserEmpty.md) [inputUserEmpty](../constructors/inputUserEmpty.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type Peer
The following syntaxes can also be used:
```
$disabledFeature = '@username'; // Username
$disabledFeature = 44700; // bot API id (users)
$disabledFeature = -492772765; // bot API id (chats)
$disabledFeature = -10038575794; // bot API id (channels)
$disabledFeature = 'user#44700'; // tg-cli style id (users)
$disabledFeature = 'chat#492772765'; // tg-cli style id (chats)
$disabledFeature = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[peerUser](../constructors/peerUser.md) [peerUser](../constructors/peerUser.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type User
The following syntaxes can also be used:
```
$disabledFeature = '@username'; // Username
$disabledFeature = 44700; // bot API id (users)
$disabledFeature = -492772765; // bot API id (chats)
$disabledFeature = -10038575794; // bot API id (channels)
$disabledFeature = 'user#44700'; // tg-cli style id (users)
$disabledFeature = 'chat#492772765'; // tg-cli style id (chats)
$disabledFeature = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[userEmpty](../constructors/userEmpty.md) [userEmpty](../constructors/userEmpty.md)

View File

@ -30,16 +30,3 @@ description: chat attributes, type and example
$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; $chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ];
``` ```
The following syntaxes can also be used:
```
$chat = '@username'; // Username
$chat = 44700; // bot API id (users)
$chat = -492772765; // bot API id (chats)
$chat = -10038575794; // bot API id (channels)
$chat = 'user#44700'; // tg-cli style id (users)
$chat = 'chat#492772765'; // tg-cli style id (chats)
$chat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: chatEmpty attributes, type and example
$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ];
``` ```
The following syntaxes can also be used:
```
$chatEmpty = '@username'; // Username
$chatEmpty = 44700; // bot API id (users)
$chatEmpty = -492772765; // bot API id (chats)
$chatEmpty = -10038575794; // bot API id (channels)
$chatEmpty = 'user#44700'; // tg-cli style id (users)
$chatEmpty = 'chat#492772765'; // tg-cli style id (chats)
$chatEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -26,16 +26,3 @@ description: chatForbidden attributes, type and example
$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ];
``` ```
The following syntaxes can also be used:
```
$chatForbidden = '@username'; // Username
$chatForbidden = 44700; // bot API id (users)
$chatForbidden = -492772765; // bot API id (chats)
$chatForbidden = -10038575794; // bot API id (channels)
$chatForbidden = 'user#44700'; // tg-cli style id (users)
$chatForbidden = 'chat#492772765'; // tg-cli style id (chats)
$chatForbidden = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -34,16 +34,3 @@ description: geoChat attributes, type and example
$geoChat = ['_' => 'geoChat', 'id' => int, 'access_hash' => long, 'title' => string, 'address' => string, 'venue' => string, 'geo' => GeoPoint, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'checked_in' => Bool, 'version' => int, ]; $geoChat = ['_' => 'geoChat', 'id' => int, 'access_hash' => long, 'title' => string, 'address' => string, 'venue' => string, 'geo' => GeoPoint, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'checked_in' => Bool, 'version' => int, ];
``` ```
The following syntaxes can also be used:
```
$geoChat = '@username'; // Username
$geoChat = 44700; // bot API id (users)
$geoChat = -492772765; // bot API id (chats)
$geoChat = -10038575794; // bot API id (channels)
$geoChat = 'user#44700'; // tg-cli style id (users)
$geoChat = 'chat#492772765'; // tg-cli style id (chats)
$geoChat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: inputPeerChat attributes, type and example
$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$inputPeerChat = '@username'; // Username
$inputPeerChat = 44700; // bot API id (users)
$inputPeerChat = -492772765; // bot API id (chats)
$inputPeerChat = -10038575794; // bot API id (channels)
$inputPeerChat = 'user#44700'; // tg-cli style id (users)
$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: inputPeerContact attributes, type and example
$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$inputPeerContact = '@username'; // Username
$inputPeerContact = 44700; // bot API id (users)
$inputPeerContact = -492772765; // bot API id (chats)
$inputPeerContact = -10038575794; // bot API id (channels)
$inputPeerContact = 'user#44700'; // tg-cli style id (users)
$inputPeerContact = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerContact = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputPeerEmpty attributes, type and example
$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; $inputPeerEmpty = ['_' => 'inputPeerEmpty', ];
``` ```
The following syntaxes can also be used:
```
$inputPeerEmpty = '@username'; // Username
$inputPeerEmpty = 44700; // bot API id (users)
$inputPeerEmpty = -492772765; // bot API id (chats)
$inputPeerEmpty = -10038575794; // bot API id (channels)
$inputPeerEmpty = 'user#44700'; // tg-cli style id (users)
$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -25,16 +25,3 @@ description: inputPeerForeign attributes, type and example
$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ];
``` ```
The following syntaxes can also be used:
```
$inputPeerForeign = '@username'; // Username
$inputPeerForeign = 44700; // bot API id (users)
$inputPeerForeign = -492772765; // bot API id (chats)
$inputPeerForeign = -10038575794; // bot API id (channels)
$inputPeerForeign = 'user#44700'; // tg-cli style id (users)
$inputPeerForeign = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerForeign = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputPeerSelf attributes, type and example
$inputPeerSelf = ['_' => 'inputPeerSelf', ]; $inputPeerSelf = ['_' => 'inputPeerSelf', ];
``` ```
The following syntaxes can also be used:
```
$inputPeerSelf = '@username'; // Username
$inputPeerSelf = 44700; // bot API id (users)
$inputPeerSelf = -492772765; // bot API id (chats)
$inputPeerSelf = -10038575794; // bot API id (channels)
$inputPeerSelf = 'user#44700'; // tg-cli style id (users)
$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats)
$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: inputUserContact attributes, type and example
$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$inputUserContact = '@username'; // Username
$inputUserContact = 44700; // bot API id (users)
$inputUserContact = -492772765; // bot API id (chats)
$inputUserContact = -10038575794; // bot API id (channels)
$inputUserContact = 'user#44700'; // tg-cli style id (users)
$inputUserContact = 'chat#492772765'; // tg-cli style id (chats)
$inputUserContact = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputUserEmpty attributes, type and example
$inputUserEmpty = ['_' => 'inputUserEmpty', ]; $inputUserEmpty = ['_' => 'inputUserEmpty', ];
``` ```
The following syntaxes can also be used:
```
$inputUserEmpty = '@username'; // Username
$inputUserEmpty = 44700; // bot API id (users)
$inputUserEmpty = -492772765; // bot API id (chats)
$inputUserEmpty = -10038575794; // bot API id (channels)
$inputUserEmpty = 'user#44700'; // tg-cli style id (users)
$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats)
$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -25,16 +25,3 @@ description: inputUserForeign attributes, type and example
$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ];
``` ```
The following syntaxes can also be used:
```
$inputUserForeign = '@username'; // Username
$inputUserForeign = 44700; // bot API id (users)
$inputUserForeign = -492772765; // bot API id (chats)
$inputUserForeign = -10038575794; // bot API id (channels)
$inputUserForeign = 'user#44700'; // tg-cli style id (users)
$inputUserForeign = 'chat#492772765'; // tg-cli style id (chats)
$inputUserForeign = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -19,16 +19,3 @@ description: inputUserSelf attributes, type and example
$inputUserSelf = ['_' => 'inputUserSelf', ]; $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)
```

View File

@ -24,16 +24,3 @@ description: peerChat attributes, type and example
$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; $peerChat = ['_' => 'peerChat', 'chat_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$peerChat = '@username'; // Username
$peerChat = 44700; // bot API id (users)
$peerChat = -492772765; // bot API id (chats)
$peerChat = -10038575794; // bot API id (channels)
$peerChat = 'user#44700'; // tg-cli style id (users)
$peerChat = 'chat#492772765'; // tg-cli style id (chats)
$peerChat = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: peerUser attributes, type and example
$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; $peerUser = ['_' => 'peerUser', 'user_id' => int, ];
``` ```
The following syntaxes can also be used:
```
$peerUser = '@username'; // Username
$peerUser = 44700; // bot API id (users)
$peerUser = -492772765; // bot API id (chats)
$peerUser = -10038575794; // bot API id (channels)
$peerUser = 'user#44700'; // tg-cli style id (users)
$peerUser = 'chat#492772765'; // tg-cli style id (chats)
$peerUser = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -31,16 +31,3 @@ description: userContact attributes, type and example
$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
``` ```
The following syntaxes can also be used:
```
$userContact = '@username'; // Username
$userContact = 44700; // bot API id (users)
$userContact = -492772765; // bot API id (chats)
$userContact = -10038575794; // bot API id (channels)
$userContact = 'user#44700'; // tg-cli style id (users)
$userContact = 'chat#492772765'; // tg-cli style id (chats)
$userContact = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -27,16 +27,3 @@ description: userDeleted attributes, type and example
$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ];
``` ```
The following syntaxes can also be used:
```
$userDeleted = '@username'; // Username
$userDeleted = 44700; // bot API id (users)
$userDeleted = -492772765; // bot API id (chats)
$userDeleted = -10038575794; // bot API id (channels)
$userDeleted = 'user#44700'; // tg-cli style id (users)
$userDeleted = 'chat#492772765'; // tg-cli style id (chats)
$userDeleted = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -24,16 +24,3 @@ description: userEmpty attributes, type and example
$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; $userEmpty = ['_' => 'userEmpty', 'id' => int, ];
``` ```
The following syntaxes can also be used:
```
$userEmpty = '@username'; // Username
$userEmpty = 44700; // bot API id (users)
$userEmpty = -492772765; // bot API id (chats)
$userEmpty = -10038575794; // bot API id (channels)
$userEmpty = 'user#44700'; // tg-cli style id (users)
$userEmpty = 'chat#492772765'; // tg-cli style id (chats)
$userEmpty = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -30,16 +30,3 @@ description: userForeign attributes, type and example
$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
``` ```
The following syntaxes can also be used:
```
$userForeign = '@username'; // Username
$userForeign = 44700; // bot API id (users)
$userForeign = -492772765; // bot API id (chats)
$userForeign = -10038575794; // bot API id (channels)
$userForeign = 'user#44700'; // tg-cli style id (users)
$userForeign = 'chat#492772765'; // tg-cli style id (chats)
$userForeign = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -31,16 +31,3 @@ description: userRequest attributes, type and example
$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
``` ```
The following syntaxes can also be used:
```
$userRequest = '@username'; // Username
$userRequest = 44700; // bot API id (users)
$userRequest = -492772765; // bot API id (chats)
$userRequest = -10038575794; // bot API id (channels)
$userRequest = 'user#44700'; // tg-cli style id (users)
$userRequest = 'chat#492772765'; // tg-cli style id (chats)
$userRequest = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -30,16 +30,3 @@ description: userSelf attributes, type and example
$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ];
``` ```
The following syntaxes can also be used:
```
$userSelf = '@username'; // Username
$userSelf = 44700; // bot API id (users)
$userSelf = -492772765; // bot API id (chats)
$userSelf = -10038575794; // bot API id (channels)
$userSelf = 'user#44700'; // tg-cli style id (users)
$userSelf = 'chat#492772765'; // tg-cli style id (chats)
$userSelf = 'channel#38575794'; // tg-cli style id (channels)
```

View File

@ -7,6 +7,21 @@ description: constructors and methods of type Chat
The following syntaxes can also be used:
```
$contactLinkContact = '@username'; // Username
$contactLinkContact = 44700; // bot API id (users)
$contactLinkContact = -492772765; // bot API id (chats)
$contactLinkContact = -10038575794; // bot API id (channels)
$contactLinkContact = 'user#44700'; // tg-cli style id (users)
$contactLinkContact = 'chat#492772765'; // tg-cli style id (chats)
$contactLinkContact = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[chatEmpty](../constructors/chatEmpty.md) [chatEmpty](../constructors/chatEmpty.md)

View File

@ -7,6 +7,21 @@ description: constructors and methods of type InputPeer
The following syntaxes can also be used:
```
$contactLinkContact = '@username'; // Username
$contactLinkContact = 44700; // bot API id (users)
$contactLinkContact = -492772765; // bot API id (chats)
$contactLinkContact = -10038575794; // bot API id (channels)
$contactLinkContact = 'user#44700'; // tg-cli style id (users)
$contactLinkContact = 'chat#492772765'; // tg-cli style id (chats)
$contactLinkContact = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors): ### Possible values (constructors):
[inputPeerEmpty](../constructors/inputPeerEmpty.md) [inputPeerEmpty](../constructors/inputPeerEmpty.md)

Some files were not shown because too many files have changed in this diff Show More