diff --git a/docs/API_docs/methods/account_getNotifySettings.md b/docs/API_docs/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/docs/API_docs/methods/account_getNotifySettings.md
+++ b/docs/API_docs/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/docs/API_docs/methods/account_updateNotifySettings.md b/docs/API_docs/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/docs/API_docs/methods/account_updateNotifySettings.md
+++ b/docs/API_docs/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/docs/API_docs/methods/messages_getPeerDialogs.md b/docs/API_docs/methods/messages_getPeerDialogs.md
index 5c41b5fb..9f244fd5 100644
--- a/docs/API_docs/methods/messages_getPeerDialogs.md
+++ b/docs/API_docs/methods/messages_getPeerDialogs.md
@@ -13,7 +13,7 @@ Get dialog info of peers
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peers|Array of [InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes|
+|peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes|
### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md)
diff --git a/docs/API_docs/methods/messages_markDialogUnread.md b/docs/API_docs/methods/messages_markDialogUnread.md
index 732ebac6..82c3650d 100644
--- a/docs/API_docs/methods/messages_markDialogUnread.md
+++ b/docs/API_docs/methods/messages_markDialogUnread.md
@@ -14,7 +14,7 @@ Mark dialog as unread
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|unread|[Bool](../types/Bool.md) | Should it be marked or unmarked as read | Optional|
-|peer|[InputDialogPeer](../types/InputDialogPeer.md) | The dialog to mark as unread | Yes|
+|peer|[Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The dialog to mark as unread | Yes|
### Return type: [Bool](../types/Bool.md)
diff --git a/docs/API_docs/methods/messages_reorderPinnedDialogs.md b/docs/API_docs/methods/messages_reorderPinnedDialogs.md
index 8f5b821d..78a2863c 100644
--- a/docs/API_docs/methods/messages_reorderPinnedDialogs.md
+++ b/docs/API_docs/methods/messages_reorderPinnedDialogs.md
@@ -14,7 +14,7 @@ Reorder pinned dialogs
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|force|[Bool](../types/Bool.md) | Force reordering | Optional|
-|order|Array of [InputDialogPeer](../types/InputDialogPeer.md) | New order | Yes|
+|order|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | New order | Yes|
### Return type: [Bool](../types/Bool.md)
diff --git a/docs/API_docs/methods/messages_toggleDialogPin.md b/docs/API_docs/methods/messages_toggleDialogPin.md
index ee17a462..20918a7d 100644
--- a/docs/API_docs/methods/messages_toggleDialogPin.md
+++ b/docs/API_docs/methods/messages_toggleDialogPin.md
@@ -14,7 +14,7 @@ Pin or unpin dialog
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|pinned|[Bool](../types/Bool.md) | Pin or unpin the dialog? | Optional|
-|peer|[InputDialogPeer](../types/InputDialogPeer.md) | The dialog to pin | Yes|
+|peer|[Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The dialog to pin | Yes|
### Return type: [Bool](../types/Bool.md)
diff --git a/docs/API_docs/types/Chat.md b/docs/API_docs/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/docs/API_docs/types/Chat.md
+++ b/docs/API_docs/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/docs/API_docs/types/DialogPeer.md b/docs/API_docs/types/DialogPeer.md
index f3195761..77d00a35 100644
--- a/docs/API_docs/types/DialogPeer.md
+++ b/docs/API_docs/types/DialogPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$DialogPeer = '@username'; // Username
+
+$DialogPeer = 'me'; // The currently logged-in user
+
+$DialogPeer = 44700; // bot API id (users)
+$DialogPeer = -492772765; // bot API id (chats)
+$DialogPeer = -10038575794; // bot API id (channels)
+
+$DialogPeer = 'https://t.me/danogentili'; // t.me URLs
+$DialogPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$DialogPeer = 'user#44700'; // tg-cli style id (users)
+$DialogPeer = 'chat#492772765'; // tg-cli style id (chats)
+$DialogPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[dialogPeer](../constructors/dialogPeer.md)
diff --git a/docs/API_docs/types/InputChannel.md b/docs/API_docs/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/docs/API_docs/types/InputChannel.md
+++ b/docs/API_docs/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/docs/API_docs/types/InputDialogPeer.md b/docs/API_docs/types/InputDialogPeer.md
index 2dec7525..665ea204 100644
--- a/docs/API_docs/types/InputDialogPeer.md
+++ b/docs/API_docs/types/InputDialogPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputDialogPeer = '@username'; // Username
+
+$InputDialogPeer = 'me'; // The currently logged-in user
+
+$InputDialogPeer = 44700; // bot API id (users)
+$InputDialogPeer = -492772765; // bot API id (chats)
+$InputDialogPeer = -10038575794; // bot API id (channels)
+
+$InputDialogPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputDialogPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputDialogPeer = 'user#44700'; // tg-cli style id (users)
+$InputDialogPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputDialogPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputDialogPeer](../constructors/inputDialogPeer.md)
diff --git a/docs/API_docs/types/InputNotifyPeer.md b/docs/API_docs/types/InputNotifyPeer.md
index c99acd02..813d3acb 100644
--- a/docs/API_docs/types/InputNotifyPeer.md
+++ b/docs/API_docs/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/docs/API_docs/types/InputPeer.md b/docs/API_docs/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/docs/API_docs/types/InputPeer.md
+++ b/docs/API_docs/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/docs/API_docs/types/InputUser.md b/docs/API_docs/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/docs/API_docs/types/InputUser.md
+++ b/docs/API_docs/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/docs/API_docs/types/NotifyPeer.md b/docs/API_docs/types/NotifyPeer.md
index 45b3d1ac..74b12b28 100644
--- a/docs/API_docs/types/NotifyPeer.md
+++ b/docs/API_docs/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/docs/API_docs/types/Peer.md b/docs/API_docs/types/Peer.md
index ca693596..ebb98e91 100644
--- a/docs/API_docs/types/Peer.md
+++ b/docs/API_docs/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/docs/API_docs/types/User.md b/docs/API_docs/types/User.md
index 3f0af641..3abd182f 100644
--- a/docs/API_docs/types/User.md
+++ b/docs/API_docs/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/docs/docs/CALLS.md b/docs/docs/CALLS.md
index 2a7fef1d..8374630a 100644
--- a/docs/docs/CALLS.md
+++ b/docs/docs/CALLS.md
@@ -124,4 +124,4 @@ while (true) {
}
```
-Next section
+Next section
\ No newline at end of file
diff --git a/docs/docs/EXCEPTIONS.md b/docs/docs/EXCEPTIONS.md
index a3559002..5aceddac 100644
--- a/docs/docs/EXCEPTIONS.md
+++ b/docs/docs/EXCEPTIONS.md
@@ -53,8 +53,7 @@ Revision: 63823fc3cc5070bd8a1ebe91e60e1fd583a2f37f
TL Trace (YOU ABSOLUTELY MUST READ THE TEXT BELOW):
PeerHandler.php(327): get_info("dd",false)
-TL.php(339): get_info("dd")
-['peer']
+TL.php(339): get_info("dd")['peer']
While serializing: messages.sendMessage
CallHandler.php(79): serialize_method("messages.sendMessage",{"peer":"@dd","message":"hi"})
APIFactory.php(142): method_call("messages.sendMessage",{"peer":"@dd","message":"hi"},{"datacenter":4})
diff --git a/docs/docs/FILES.md b/docs/docs/FILES.md
index a89f6e06..edca5bda 100644
--- a/docs/docs/FILES.md
+++ b/docs/docs/FILES.md
@@ -431,4 +431,4 @@ $output_file_name = $MadelineProto->download_to_file(
);
```
-Next section
+Next section
\ No newline at end of file
diff --git a/docs/docs/INSTALLATION.md b/docs/docs/INSTALLATION.md
index f71c591c..f811e779 100644
--- a/docs/docs/INSTALLATION.md
+++ b/docs/docs/INSTALLATION.md
@@ -103,4 +103,4 @@ Then you can require the package by addding the following line to the require se
"danog/madelineproto":"dev-master"
```
-Next section
+Next section
\ No newline at end of file
diff --git a/docs/docs/UPDATES.md b/docs/docs/UPDATES.md
index 89efe110..0454a524 100644
--- a/docs/docs/UPDATES.md
+++ b/docs/docs/UPDATES.md
@@ -302,6 +302,4 @@ The update handling loop is started by the `$MadelineProto->loop()` method, and
To break out of the loop just call `die();`
-
-
-Next section
+Next section
\ No newline at end of file
diff --git a/docs/index.md b/docs/index.md
index 1e7c308b..4a6afa0f 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -74,6 +74,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* [Long polling (getupdates)](https://docs.madelineproto.xyz/docs/UPDATES.html#long-polling)
* [Callback](https://docs.madelineproto.xyz/docs/UPDATES.html#callback)
* [Callback multithreaded](https://docs.madelineproto.xyz/docs/UPDATES.html#callback-multithreaded)
+ * [Noop](https://docs.madelineproto.xyz/docs/UPDATES.html#noop)
* [Settings](https://docs.madelineproto.xyz/docs/SETTINGS.html)
* [Getting info about the current user](https://docs.madelineproto.xyz/docs/SELF.html)
* [Exceptions](https://docs.madelineproto.xyz/docs/EXCEPTIONS.html)
diff --git a/old_docs/API_docs_v18/methods/account_getNotifySettings.md b/old_docs/API_docs_v18/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v18/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v18/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v18/types/Chat.md b/old_docs/API_docs_v18/types/Chat.md
index 278509f5..df8877f9 100644
--- a/old_docs/API_docs_v18/types/Chat.md
+++ b/old_docs/API_docs_v18/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v18/types/InputNotifyPeer.md b/old_docs/API_docs_v18/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v18/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v18/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v18/types/InputPeer.md b/old_docs/API_docs_v18/types/InputPeer.md
index fc1806b9..0835e3ca 100644
--- a/old_docs/API_docs_v18/types/InputPeer.md
+++ b/old_docs/API_docs_v18/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v18/types/InputUser.md b/old_docs/API_docs_v18/types/InputUser.md
index 17da82ac..0294e497 100644
--- a/old_docs/API_docs_v18/types/InputUser.md
+++ b/old_docs/API_docs_v18/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v18/types/NotifyPeer.md b/old_docs/API_docs_v18/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v18/types/NotifyPeer.md
+++ b/old_docs/API_docs_v18/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v18/types/Peer.md b/old_docs/API_docs_v18/types/Peer.md
index cc9f2476..9edbf4bb 100644
--- a/old_docs/API_docs_v18/types/Peer.md
+++ b/old_docs/API_docs_v18/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v18/types/User.md b/old_docs/API_docs_v18/types/User.md
index 86294aa3..750d2b96 100644
--- a/old_docs/API_docs_v18/types/User.md
+++ b/old_docs/API_docs_v18/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v23/methods/account_getNotifySettings.md b/old_docs/API_docs_v23/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v23/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v23/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v23/types/Chat.md b/old_docs/API_docs_v23/types/Chat.md
index 278509f5..df8877f9 100644
--- a/old_docs/API_docs_v23/types/Chat.md
+++ b/old_docs/API_docs_v23/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v23/types/InputNotifyPeer.md b/old_docs/API_docs_v23/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v23/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v23/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v23/types/InputPeer.md b/old_docs/API_docs_v23/types/InputPeer.md
index fc1806b9..0835e3ca 100644
--- a/old_docs/API_docs_v23/types/InputPeer.md
+++ b/old_docs/API_docs_v23/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v23/types/InputUser.md b/old_docs/API_docs_v23/types/InputUser.md
index 17da82ac..0294e497 100644
--- a/old_docs/API_docs_v23/types/InputUser.md
+++ b/old_docs/API_docs_v23/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v23/types/NotifyPeer.md b/old_docs/API_docs_v23/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v23/types/NotifyPeer.md
+++ b/old_docs/API_docs_v23/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v23/types/Peer.md b/old_docs/API_docs_v23/types/Peer.md
index cc9f2476..9edbf4bb 100644
--- a/old_docs/API_docs_v23/types/Peer.md
+++ b/old_docs/API_docs_v23/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v23/types/User.md b/old_docs/API_docs_v23/types/User.md
index 9d974473..6dbfd982 100644
--- a/old_docs/API_docs_v23/types/User.md
+++ b/old_docs/API_docs_v23/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v25/methods/account_getNotifySettings.md b/old_docs/API_docs_v25/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v25/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v25/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v25/types/Chat.md b/old_docs/API_docs_v25/types/Chat.md
index bf282dff..75d5690e 100644
--- a/old_docs/API_docs_v25/types/Chat.md
+++ b/old_docs/API_docs_v25/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v25/types/InputNotifyPeer.md b/old_docs/API_docs_v25/types/InputNotifyPeer.md
index 92efba94..8347c390 100644
--- a/old_docs/API_docs_v25/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v25/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v25/types/InputPeer.md b/old_docs/API_docs_v25/types/InputPeer.md
index fc1806b9..0835e3ca 100644
--- a/old_docs/API_docs_v25/types/InputPeer.md
+++ b/old_docs/API_docs_v25/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v25/types/InputUser.md b/old_docs/API_docs_v25/types/InputUser.md
index 17da82ac..0294e497 100644
--- a/old_docs/API_docs_v25/types/InputUser.md
+++ b/old_docs/API_docs_v25/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v25/types/NotifyPeer.md b/old_docs/API_docs_v25/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v25/types/NotifyPeer.md
+++ b/old_docs/API_docs_v25/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v25/types/Peer.md b/old_docs/API_docs_v25/types/Peer.md
index cc9f2476..9edbf4bb 100644
--- a/old_docs/API_docs_v25/types/Peer.md
+++ b/old_docs/API_docs_v25/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v25/types/User.md b/old_docs/API_docs_v25/types/User.md
index 9d974473..6dbfd982 100644
--- a/old_docs/API_docs_v25/types/User.md
+++ b/old_docs/API_docs_v25/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v27/methods/account_getNotifySettings.md b/old_docs/API_docs_v27/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v27/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v27/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v27/types/Chat.md b/old_docs/API_docs_v27/types/Chat.md
index bf282dff..75d5690e 100644
--- a/old_docs/API_docs_v27/types/Chat.md
+++ b/old_docs/API_docs_v27/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v27/types/InputNotifyPeer.md b/old_docs/API_docs_v27/types/InputNotifyPeer.md
index 92efba94..8347c390 100644
--- a/old_docs/API_docs_v27/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v27/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v27/types/InputPeer.md b/old_docs/API_docs_v27/types/InputPeer.md
index fc1806b9..0835e3ca 100644
--- a/old_docs/API_docs_v27/types/InputPeer.md
+++ b/old_docs/API_docs_v27/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v27/types/InputUser.md b/old_docs/API_docs_v27/types/InputUser.md
index 17da82ac..0294e497 100644
--- a/old_docs/API_docs_v27/types/InputUser.md
+++ b/old_docs/API_docs_v27/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v27/types/NotifyPeer.md b/old_docs/API_docs_v27/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v27/types/NotifyPeer.md
+++ b/old_docs/API_docs_v27/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v27/types/Peer.md b/old_docs/API_docs_v27/types/Peer.md
index cc9f2476..9edbf4bb 100644
--- a/old_docs/API_docs_v27/types/Peer.md
+++ b/old_docs/API_docs_v27/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v27/types/User.md b/old_docs/API_docs_v27/types/User.md
index 9d974473..6dbfd982 100644
--- a/old_docs/API_docs_v27/types/User.md
+++ b/old_docs/API_docs_v27/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v33/methods/account_getNotifySettings.md b/old_docs/API_docs_v33/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v33/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v33/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v33/types/Chat.md b/old_docs/API_docs_v33/types/Chat.md
index bf282dff..75d5690e 100644
--- a/old_docs/API_docs_v33/types/Chat.md
+++ b/old_docs/API_docs_v33/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v33/types/InputNotifyPeer.md b/old_docs/API_docs_v33/types/InputNotifyPeer.md
index 92efba94..8347c390 100644
--- a/old_docs/API_docs_v33/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v33/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v33/types/InputPeer.md b/old_docs/API_docs_v33/types/InputPeer.md
index a6b1d992..e100a87d 100644
--- a/old_docs/API_docs_v33/types/InputPeer.md
+++ b/old_docs/API_docs_v33/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v33/types/InputUser.md b/old_docs/API_docs_v33/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v33/types/InputUser.md
+++ b/old_docs/API_docs_v33/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v33/types/NotifyPeer.md b/old_docs/API_docs_v33/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v33/types/NotifyPeer.md
+++ b/old_docs/API_docs_v33/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v33/types/Peer.md b/old_docs/API_docs_v33/types/Peer.md
index cc9f2476..9edbf4bb 100644
--- a/old_docs/API_docs_v33/types/Peer.md
+++ b/old_docs/API_docs_v33/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v33/types/User.md b/old_docs/API_docs_v33/types/User.md
index 15bdd623..d82488f8 100644
--- a/old_docs/API_docs_v33/types/User.md
+++ b/old_docs/API_docs_v33/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v38/methods/account_getNotifySettings.md b/old_docs/API_docs_v38/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v38/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v38/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v38/types/Chat.md b/old_docs/API_docs_v38/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v38/types/Chat.md
+++ b/old_docs/API_docs_v38/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v38/types/InputChannel.md b/old_docs/API_docs_v38/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v38/types/InputChannel.md
+++ b/old_docs/API_docs_v38/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v38/types/InputNotifyPeer.md b/old_docs/API_docs_v38/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v38/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v38/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v38/types/InputPeer.md b/old_docs/API_docs_v38/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v38/types/InputPeer.md
+++ b/old_docs/API_docs_v38/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v38/types/InputUser.md b/old_docs/API_docs_v38/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v38/types/InputUser.md
+++ b/old_docs/API_docs_v38/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v38/types/NotifyPeer.md b/old_docs/API_docs_v38/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v38/types/NotifyPeer.md
+++ b/old_docs/API_docs_v38/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v38/types/Peer.md b/old_docs/API_docs_v38/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v38/types/Peer.md
+++ b/old_docs/API_docs_v38/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v38/types/User.md b/old_docs/API_docs_v38/types/User.md
index 9dc2b2c5..b145a3f8 100644
--- a/old_docs/API_docs_v38/types/User.md
+++ b/old_docs/API_docs_v38/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v40/methods/account_getNotifySettings.md b/old_docs/API_docs_v40/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v40/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v40/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v40/types/Chat.md b/old_docs/API_docs_v40/types/Chat.md
index 7791322c..09c08411 100644
--- a/old_docs/API_docs_v40/types/Chat.md
+++ b/old_docs/API_docs_v40/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v40/types/InputNotifyPeer.md b/old_docs/API_docs_v40/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v40/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v40/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v40/types/InputPeer.md b/old_docs/API_docs_v40/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v40/types/InputPeer.md
+++ b/old_docs/API_docs_v40/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v40/types/InputUser.md b/old_docs/API_docs_v40/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v40/types/InputUser.md
+++ b/old_docs/API_docs_v40/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v40/types/NotifyPeer.md b/old_docs/API_docs_v40/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v40/types/NotifyPeer.md
+++ b/old_docs/API_docs_v40/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v40/types/Peer.md b/old_docs/API_docs_v40/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v40/types/Peer.md
+++ b/old_docs/API_docs_v40/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v40/types/User.md b/old_docs/API_docs_v40/types/User.md
index 15bdd623..d82488f8 100644
--- a/old_docs/API_docs_v40/types/User.md
+++ b/old_docs/API_docs_v40/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v41/methods/account_getNotifySettings.md b/old_docs/API_docs_v41/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v41/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v41/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v41/types/Chat.md b/old_docs/API_docs_v41/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v41/types/Chat.md
+++ b/old_docs/API_docs_v41/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v41/types/InputChannel.md b/old_docs/API_docs_v41/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v41/types/InputChannel.md
+++ b/old_docs/API_docs_v41/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v41/types/InputNotifyPeer.md b/old_docs/API_docs_v41/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v41/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v41/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v41/types/InputPeer.md b/old_docs/API_docs_v41/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v41/types/InputPeer.md
+++ b/old_docs/API_docs_v41/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v41/types/InputUser.md b/old_docs/API_docs_v41/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v41/types/InputUser.md
+++ b/old_docs/API_docs_v41/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v41/types/NotifyPeer.md b/old_docs/API_docs_v41/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v41/types/NotifyPeer.md
+++ b/old_docs/API_docs_v41/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v41/types/Peer.md b/old_docs/API_docs_v41/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v41/types/Peer.md
+++ b/old_docs/API_docs_v41/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v41/types/User.md b/old_docs/API_docs_v41/types/User.md
index 9dc2b2c5..b145a3f8 100644
--- a/old_docs/API_docs_v41/types/User.md
+++ b/old_docs/API_docs_v41/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v42/methods/account_getNotifySettings.md b/old_docs/API_docs_v42/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v42/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v42/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v42/types/Chat.md b/old_docs/API_docs_v42/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v42/types/Chat.md
+++ b/old_docs/API_docs_v42/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v42/types/InputChannel.md b/old_docs/API_docs_v42/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v42/types/InputChannel.md
+++ b/old_docs/API_docs_v42/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v42/types/InputNotifyPeer.md b/old_docs/API_docs_v42/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v42/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v42/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v42/types/InputPeer.md b/old_docs/API_docs_v42/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v42/types/InputPeer.md
+++ b/old_docs/API_docs_v42/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v42/types/InputUser.md b/old_docs/API_docs_v42/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v42/types/InputUser.md
+++ b/old_docs/API_docs_v42/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v42/types/NotifyPeer.md b/old_docs/API_docs_v42/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v42/types/NotifyPeer.md
+++ b/old_docs/API_docs_v42/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v42/types/Peer.md b/old_docs/API_docs_v42/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v42/types/Peer.md
+++ b/old_docs/API_docs_v42/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v42/types/User.md b/old_docs/API_docs_v42/types/User.md
index 9dc2b2c5..b145a3f8 100644
--- a/old_docs/API_docs_v42/types/User.md
+++ b/old_docs/API_docs_v42/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v44/methods/account_getNotifySettings.md b/old_docs/API_docs_v44/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v44/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v44/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v44/types/Chat.md b/old_docs/API_docs_v44/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v44/types/Chat.md
+++ b/old_docs/API_docs_v44/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v44/types/InputChannel.md b/old_docs/API_docs_v44/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v44/types/InputChannel.md
+++ b/old_docs/API_docs_v44/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v44/types/InputNotifyPeer.md b/old_docs/API_docs_v44/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v44/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v44/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v44/types/InputPeer.md b/old_docs/API_docs_v44/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v44/types/InputPeer.md
+++ b/old_docs/API_docs_v44/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v44/types/InputUser.md b/old_docs/API_docs_v44/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v44/types/InputUser.md
+++ b/old_docs/API_docs_v44/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v44/types/NotifyPeer.md b/old_docs/API_docs_v44/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v44/types/NotifyPeer.md
+++ b/old_docs/API_docs_v44/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v44/types/Peer.md b/old_docs/API_docs_v44/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v44/types/Peer.md
+++ b/old_docs/API_docs_v44/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v44/types/User.md b/old_docs/API_docs_v44/types/User.md
index 9dc2b2c5..b145a3f8 100644
--- a/old_docs/API_docs_v44/types/User.md
+++ b/old_docs/API_docs_v44/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v45/methods/account_getNotifySettings.md b/old_docs/API_docs_v45/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v45/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v45/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v45/types/Chat.md b/old_docs/API_docs_v45/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v45/types/Chat.md
+++ b/old_docs/API_docs_v45/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v45/types/InputChannel.md b/old_docs/API_docs_v45/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v45/types/InputChannel.md
+++ b/old_docs/API_docs_v45/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v45/types/InputNotifyPeer.md b/old_docs/API_docs_v45/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v45/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v45/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v45/types/InputPeer.md b/old_docs/API_docs_v45/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v45/types/InputPeer.md
+++ b/old_docs/API_docs_v45/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v45/types/InputUser.md b/old_docs/API_docs_v45/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v45/types/InputUser.md
+++ b/old_docs/API_docs_v45/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v45/types/NotifyPeer.md b/old_docs/API_docs_v45/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v45/types/NotifyPeer.md
+++ b/old_docs/API_docs_v45/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v45/types/Peer.md b/old_docs/API_docs_v45/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v45/types/Peer.md
+++ b/old_docs/API_docs_v45/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v45/types/User.md b/old_docs/API_docs_v45/types/User.md
index 9dc2b2c5..b145a3f8 100644
--- a/old_docs/API_docs_v45/types/User.md
+++ b/old_docs/API_docs_v45/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v46/methods/account_getNotifySettings.md b/old_docs/API_docs_v46/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v46/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v46/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v46/types/Chat.md b/old_docs/API_docs_v46/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v46/types/Chat.md
+++ b/old_docs/API_docs_v46/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v46/types/InputChannel.md b/old_docs/API_docs_v46/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v46/types/InputChannel.md
+++ b/old_docs/API_docs_v46/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v46/types/InputNotifyPeer.md b/old_docs/API_docs_v46/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v46/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v46/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v46/types/InputPeer.md b/old_docs/API_docs_v46/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v46/types/InputPeer.md
+++ b/old_docs/API_docs_v46/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v46/types/InputUser.md b/old_docs/API_docs_v46/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v46/types/InputUser.md
+++ b/old_docs/API_docs_v46/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v46/types/NotifyPeer.md b/old_docs/API_docs_v46/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v46/types/NotifyPeer.md
+++ b/old_docs/API_docs_v46/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v46/types/Peer.md b/old_docs/API_docs_v46/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v46/types/Peer.md
+++ b/old_docs/API_docs_v46/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v46/types/User.md b/old_docs/API_docs_v46/types/User.md
index 3f0af641..3abd182f 100644
--- a/old_docs/API_docs_v46/types/User.md
+++ b/old_docs/API_docs_v46/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v51/methods/account_getNotifySettings.md b/old_docs/API_docs_v51/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v51/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v51/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v51/types/Chat.md b/old_docs/API_docs_v51/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v51/types/Chat.md
+++ b/old_docs/API_docs_v51/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v51/types/InputChannel.md b/old_docs/API_docs_v51/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v51/types/InputChannel.md
+++ b/old_docs/API_docs_v51/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v51/types/InputNotifyPeer.md b/old_docs/API_docs_v51/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v51/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v51/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v51/types/InputPeer.md b/old_docs/API_docs_v51/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v51/types/InputPeer.md
+++ b/old_docs/API_docs_v51/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v51/types/InputUser.md b/old_docs/API_docs_v51/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v51/types/InputUser.md
+++ b/old_docs/API_docs_v51/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v51/types/NotifyPeer.md b/old_docs/API_docs_v51/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v51/types/NotifyPeer.md
+++ b/old_docs/API_docs_v51/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v51/types/Peer.md b/old_docs/API_docs_v51/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v51/types/Peer.md
+++ b/old_docs/API_docs_v51/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v51/types/User.md b/old_docs/API_docs_v51/types/User.md
index 9dc2b2c5..b145a3f8 100644
--- a/old_docs/API_docs_v51/types/User.md
+++ b/old_docs/API_docs_v51/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v53/methods/account_getNotifySettings.md b/old_docs/API_docs_v53/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v53/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v53/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v53/types/Chat.md b/old_docs/API_docs_v53/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v53/types/Chat.md
+++ b/old_docs/API_docs_v53/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v53/types/InputChannel.md b/old_docs/API_docs_v53/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v53/types/InputChannel.md
+++ b/old_docs/API_docs_v53/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v53/types/InputNotifyPeer.md b/old_docs/API_docs_v53/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v53/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v53/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v53/types/InputPeer.md b/old_docs/API_docs_v53/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v53/types/InputPeer.md
+++ b/old_docs/API_docs_v53/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v53/types/InputUser.md b/old_docs/API_docs_v53/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v53/types/InputUser.md
+++ b/old_docs/API_docs_v53/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v53/types/NotifyPeer.md b/old_docs/API_docs_v53/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v53/types/NotifyPeer.md
+++ b/old_docs/API_docs_v53/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v53/types/Peer.md b/old_docs/API_docs_v53/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v53/types/Peer.md
+++ b/old_docs/API_docs_v53/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v53/types/User.md b/old_docs/API_docs_v53/types/User.md
index 9dc2b2c5..b145a3f8 100644
--- a/old_docs/API_docs_v53/types/User.md
+++ b/old_docs/API_docs_v53/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v55/methods/account_getNotifySettings.md b/old_docs/API_docs_v55/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v55/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v55/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v55/types/Chat.md b/old_docs/API_docs_v55/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v55/types/Chat.md
+++ b/old_docs/API_docs_v55/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v55/types/InputChannel.md b/old_docs/API_docs_v55/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v55/types/InputChannel.md
+++ b/old_docs/API_docs_v55/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v55/types/InputNotifyPeer.md b/old_docs/API_docs_v55/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v55/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v55/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v55/types/InputPeer.md b/old_docs/API_docs_v55/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v55/types/InputPeer.md
+++ b/old_docs/API_docs_v55/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v55/types/InputUser.md b/old_docs/API_docs_v55/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v55/types/InputUser.md
+++ b/old_docs/API_docs_v55/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v55/types/NotifyPeer.md b/old_docs/API_docs_v55/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v55/types/NotifyPeer.md
+++ b/old_docs/API_docs_v55/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v55/types/Peer.md b/old_docs/API_docs_v55/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v55/types/Peer.md
+++ b/old_docs/API_docs_v55/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v55/types/User.md b/old_docs/API_docs_v55/types/User.md
index 9dc2b2c5..b145a3f8 100644
--- a/old_docs/API_docs_v55/types/User.md
+++ b/old_docs/API_docs_v55/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v57/methods/account_getNotifySettings.md b/old_docs/API_docs_v57/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v57/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v57/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v57/types/Chat.md b/old_docs/API_docs_v57/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v57/types/Chat.md
+++ b/old_docs/API_docs_v57/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v57/types/InputChannel.md b/old_docs/API_docs_v57/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v57/types/InputChannel.md
+++ b/old_docs/API_docs_v57/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v57/types/InputNotifyPeer.md b/old_docs/API_docs_v57/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v57/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v57/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v57/types/InputPeer.md b/old_docs/API_docs_v57/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v57/types/InputPeer.md
+++ b/old_docs/API_docs_v57/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v57/types/InputUser.md b/old_docs/API_docs_v57/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v57/types/InputUser.md
+++ b/old_docs/API_docs_v57/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v57/types/NotifyPeer.md b/old_docs/API_docs_v57/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v57/types/NotifyPeer.md
+++ b/old_docs/API_docs_v57/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v57/types/Peer.md b/old_docs/API_docs_v57/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v57/types/Peer.md
+++ b/old_docs/API_docs_v57/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v57/types/User.md b/old_docs/API_docs_v57/types/User.md
index 9dc2b2c5..b145a3f8 100644
--- a/old_docs/API_docs_v57/types/User.md
+++ b/old_docs/API_docs_v57/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v62/methods/account_getNotifySettings.md b/old_docs/API_docs_v62/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v62/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v62/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v62/types/Chat.md b/old_docs/API_docs_v62/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v62/types/Chat.md
+++ b/old_docs/API_docs_v62/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v62/types/InputChannel.md b/old_docs/API_docs_v62/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v62/types/InputChannel.md
+++ b/old_docs/API_docs_v62/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v62/types/InputNotifyPeer.md b/old_docs/API_docs_v62/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v62/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v62/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v62/types/InputPeer.md b/old_docs/API_docs_v62/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v62/types/InputPeer.md
+++ b/old_docs/API_docs_v62/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v62/types/InputUser.md b/old_docs/API_docs_v62/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v62/types/InputUser.md
+++ b/old_docs/API_docs_v62/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v62/types/NotifyPeer.md b/old_docs/API_docs_v62/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v62/types/NotifyPeer.md
+++ b/old_docs/API_docs_v62/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v62/types/Peer.md b/old_docs/API_docs_v62/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v62/types/Peer.md
+++ b/old_docs/API_docs_v62/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v62/types/User.md b/old_docs/API_docs_v62/types/User.md
index 3f0af641..3abd182f 100644
--- a/old_docs/API_docs_v62/types/User.md
+++ b/old_docs/API_docs_v62/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v65/methods/account_getNotifySettings.md b/old_docs/API_docs_v65/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v65/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v65/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v65/types/Chat.md b/old_docs/API_docs_v65/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v65/types/Chat.md
+++ b/old_docs/API_docs_v65/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v65/types/InputChannel.md b/old_docs/API_docs_v65/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v65/types/InputChannel.md
+++ b/old_docs/API_docs_v65/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v65/types/InputNotifyPeer.md b/old_docs/API_docs_v65/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v65/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v65/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v65/types/InputPeer.md b/old_docs/API_docs_v65/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v65/types/InputPeer.md
+++ b/old_docs/API_docs_v65/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v65/types/InputUser.md b/old_docs/API_docs_v65/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v65/types/InputUser.md
+++ b/old_docs/API_docs_v65/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v65/types/NotifyPeer.md b/old_docs/API_docs_v65/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v65/types/NotifyPeer.md
+++ b/old_docs/API_docs_v65/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v65/types/Peer.md b/old_docs/API_docs_v65/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v65/types/Peer.md
+++ b/old_docs/API_docs_v65/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v65/types/User.md b/old_docs/API_docs_v65/types/User.md
index 3f0af641..3abd182f 100644
--- a/old_docs/API_docs_v65/types/User.md
+++ b/old_docs/API_docs_v65/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v66/methods/account_getNotifySettings.md b/old_docs/API_docs_v66/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v66/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v66/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v66/methods/account_updateNotifySettings.md b/old_docs/API_docs_v66/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v66/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v66/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v66/types/Chat.md b/old_docs/API_docs_v66/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v66/types/Chat.md
+++ b/old_docs/API_docs_v66/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v66/types/InputChannel.md b/old_docs/API_docs_v66/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v66/types/InputChannel.md
+++ b/old_docs/API_docs_v66/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v66/types/InputNotifyPeer.md b/old_docs/API_docs_v66/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v66/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v66/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v66/types/InputPeer.md b/old_docs/API_docs_v66/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v66/types/InputPeer.md
+++ b/old_docs/API_docs_v66/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v66/types/InputUser.md b/old_docs/API_docs_v66/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v66/types/InputUser.md
+++ b/old_docs/API_docs_v66/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v66/types/NotifyPeer.md b/old_docs/API_docs_v66/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v66/types/NotifyPeer.md
+++ b/old_docs/API_docs_v66/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v66/types/Peer.md b/old_docs/API_docs_v66/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v66/types/Peer.md
+++ b/old_docs/API_docs_v66/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v66/types/User.md b/old_docs/API_docs_v66/types/User.md
index 3f0af641..3abd182f 100644
--- a/old_docs/API_docs_v66/types/User.md
+++ b/old_docs/API_docs_v66/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v68/methods/account_getNotifySettings.md b/old_docs/API_docs_v68/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v68/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v68/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v68/methods/account_updateNotifySettings.md b/old_docs/API_docs_v68/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v68/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v68/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v68/types/Chat.md b/old_docs/API_docs_v68/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v68/types/Chat.md
+++ b/old_docs/API_docs_v68/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v68/types/InputChannel.md b/old_docs/API_docs_v68/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v68/types/InputChannel.md
+++ b/old_docs/API_docs_v68/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v68/types/InputNotifyPeer.md b/old_docs/API_docs_v68/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v68/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v68/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v68/types/InputPeer.md b/old_docs/API_docs_v68/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v68/types/InputPeer.md
+++ b/old_docs/API_docs_v68/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v68/types/InputUser.md b/old_docs/API_docs_v68/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v68/types/InputUser.md
+++ b/old_docs/API_docs_v68/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v68/types/NotifyPeer.md b/old_docs/API_docs_v68/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v68/types/NotifyPeer.md
+++ b/old_docs/API_docs_v68/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v68/types/Peer.md b/old_docs/API_docs_v68/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v68/types/Peer.md
+++ b/old_docs/API_docs_v68/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v68/types/User.md b/old_docs/API_docs_v68/types/User.md
index 3f0af641..3abd182f 100644
--- a/old_docs/API_docs_v68/types/User.md
+++ b/old_docs/API_docs_v68/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v70/methods/account_getNotifySettings.md b/old_docs/API_docs_v70/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v70/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v70/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v70/methods/account_updateNotifySettings.md b/old_docs/API_docs_v70/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v70/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v70/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v70/types/Chat.md b/old_docs/API_docs_v70/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v70/types/Chat.md
+++ b/old_docs/API_docs_v70/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v70/types/InputChannel.md b/old_docs/API_docs_v70/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v70/types/InputChannel.md
+++ b/old_docs/API_docs_v70/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v70/types/InputNotifyPeer.md b/old_docs/API_docs_v70/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v70/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v70/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v70/types/InputPeer.md b/old_docs/API_docs_v70/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v70/types/InputPeer.md
+++ b/old_docs/API_docs_v70/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v70/types/InputUser.md b/old_docs/API_docs_v70/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v70/types/InputUser.md
+++ b/old_docs/API_docs_v70/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v70/types/NotifyPeer.md b/old_docs/API_docs_v70/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v70/types/NotifyPeer.md
+++ b/old_docs/API_docs_v70/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v70/types/Peer.md b/old_docs/API_docs_v70/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v70/types/Peer.md
+++ b/old_docs/API_docs_v70/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v70/types/User.md b/old_docs/API_docs_v70/types/User.md
index 3f0af641..3abd182f 100644
--- a/old_docs/API_docs_v70/types/User.md
+++ b/old_docs/API_docs_v70/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v71/methods/account_getNotifySettings.md b/old_docs/API_docs_v71/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v71/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v71/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v71/methods/account_updateNotifySettings.md b/old_docs/API_docs_v71/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v71/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v71/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v71/types/Chat.md b/old_docs/API_docs_v71/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v71/types/Chat.md
+++ b/old_docs/API_docs_v71/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v71/types/InputChannel.md b/old_docs/API_docs_v71/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v71/types/InputChannel.md
+++ b/old_docs/API_docs_v71/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v71/types/InputNotifyPeer.md b/old_docs/API_docs_v71/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v71/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v71/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v71/types/InputPeer.md b/old_docs/API_docs_v71/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v71/types/InputPeer.md
+++ b/old_docs/API_docs_v71/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v71/types/InputUser.md b/old_docs/API_docs_v71/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v71/types/InputUser.md
+++ b/old_docs/API_docs_v71/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v71/types/NotifyPeer.md b/old_docs/API_docs_v71/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v71/types/NotifyPeer.md
+++ b/old_docs/API_docs_v71/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v71/types/Peer.md b/old_docs/API_docs_v71/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v71/types/Peer.md
+++ b/old_docs/API_docs_v71/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v71/types/User.md b/old_docs/API_docs_v71/types/User.md
index 3f0af641..3abd182f 100644
--- a/old_docs/API_docs_v71/types/User.md
+++ b/old_docs/API_docs_v71/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v72/methods/account_getNotifySettings.md b/old_docs/API_docs_v72/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v72/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v72/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v72/methods/account_updateNotifySettings.md b/old_docs/API_docs_v72/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v72/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v72/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v72/types/Chat.md b/old_docs/API_docs_v72/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v72/types/Chat.md
+++ b/old_docs/API_docs_v72/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v72/types/InputChannel.md b/old_docs/API_docs_v72/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v72/types/InputChannel.md
+++ b/old_docs/API_docs_v72/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v72/types/InputNotifyPeer.md b/old_docs/API_docs_v72/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v72/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v72/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v72/types/InputPeer.md b/old_docs/API_docs_v72/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v72/types/InputPeer.md
+++ b/old_docs/API_docs_v72/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v72/types/InputUser.md b/old_docs/API_docs_v72/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v72/types/InputUser.md
+++ b/old_docs/API_docs_v72/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v72/types/NotifyPeer.md b/old_docs/API_docs_v72/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v72/types/NotifyPeer.md
+++ b/old_docs/API_docs_v72/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v72/types/Peer.md b/old_docs/API_docs_v72/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v72/types/Peer.md
+++ b/old_docs/API_docs_v72/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v72/types/User.md b/old_docs/API_docs_v72/types/User.md
index 3f0af641..3abd182f 100644
--- a/old_docs/API_docs_v72/types/User.md
+++ b/old_docs/API_docs_v72/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v73/methods/account_getNotifySettings.md b/old_docs/API_docs_v73/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v73/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v73/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v73/methods/account_updateNotifySettings.md b/old_docs/API_docs_v73/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v73/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v73/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v73/types/Chat.md b/old_docs/API_docs_v73/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v73/types/Chat.md
+++ b/old_docs/API_docs_v73/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v73/types/InputChannel.md b/old_docs/API_docs_v73/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v73/types/InputChannel.md
+++ b/old_docs/API_docs_v73/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v73/types/InputNotifyPeer.md b/old_docs/API_docs_v73/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v73/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v73/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v73/types/InputPeer.md b/old_docs/API_docs_v73/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v73/types/InputPeer.md
+++ b/old_docs/API_docs_v73/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v73/types/InputUser.md b/old_docs/API_docs_v73/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v73/types/InputUser.md
+++ b/old_docs/API_docs_v73/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v73/types/NotifyPeer.md b/old_docs/API_docs_v73/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v73/types/NotifyPeer.md
+++ b/old_docs/API_docs_v73/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v73/types/Peer.md b/old_docs/API_docs_v73/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v73/types/Peer.md
+++ b/old_docs/API_docs_v73/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v73/types/User.md b/old_docs/API_docs_v73/types/User.md
index 3f0af641..3abd182f 100644
--- a/old_docs/API_docs_v73/types/User.md
+++ b/old_docs/API_docs_v73/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v75/methods/account_getNotifySettings.md b/old_docs/API_docs_v75/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v75/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v75/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v75/methods/account_updateNotifySettings.md b/old_docs/API_docs_v75/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v75/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v75/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v75/types/Chat.md b/old_docs/API_docs_v75/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v75/types/Chat.md
+++ b/old_docs/API_docs_v75/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v75/types/InputChannel.md b/old_docs/API_docs_v75/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v75/types/InputChannel.md
+++ b/old_docs/API_docs_v75/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v75/types/InputNotifyPeer.md b/old_docs/API_docs_v75/types/InputNotifyPeer.md
index 593aa542..ffc1f0cf 100644
--- a/old_docs/API_docs_v75/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v75/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v75/types/InputPeer.md b/old_docs/API_docs_v75/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v75/types/InputPeer.md
+++ b/old_docs/API_docs_v75/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v75/types/InputUser.md b/old_docs/API_docs_v75/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v75/types/InputUser.md
+++ b/old_docs/API_docs_v75/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v75/types/NotifyPeer.md b/old_docs/API_docs_v75/types/NotifyPeer.md
index c46609f9..6272b82b 100644
--- a/old_docs/API_docs_v75/types/NotifyPeer.md
+++ b/old_docs/API_docs_v75/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v75/types/Peer.md b/old_docs/API_docs_v75/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v75/types/Peer.md
+++ b/old_docs/API_docs_v75/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v75/types/User.md b/old_docs/API_docs_v75/types/User.md
index 3f0af641..3abd182f 100644
--- a/old_docs/API_docs_v75/types/User.md
+++ b/old_docs/API_docs_v75/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v81/methods/account_getNotifySettings.md b/old_docs/API_docs_v81/methods/account_getNotifySettings.md
index f4e09b3c..1a082a2c 100644
--- a/old_docs/API_docs_v81/methods/account_getNotifySettings.md
+++ b/old_docs/API_docs_v81/methods/account_getNotifySettings.md
@@ -13,7 +13,7 @@ Get notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | Notification source | Yes|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
diff --git a/old_docs/API_docs_v81/methods/account_updateNotifySettings.md b/old_docs/API_docs_v81/methods/account_updateNotifySettings.md
index 6549ebea..1ddb958a 100644
--- a/old_docs/API_docs_v81/methods/account_updateNotifySettings.md
+++ b/old_docs/API_docs_v81/methods/account_updateNotifySettings.md
@@ -13,7 +13,7 @@ Change notification settings
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
+|peer|[Username, chat ID, Update, Message or InputNotifyPeer](../types/InputNotifyPeer.md) | The peers to which the notification settings should be applied | Yes|
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Notification settings | Yes|
diff --git a/old_docs/API_docs_v81/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v81/methods/messages_getPeerDialogs.md
index 5c41b5fb..9f244fd5 100644
--- a/old_docs/API_docs_v81/methods/messages_getPeerDialogs.md
+++ b/old_docs/API_docs_v81/methods/messages_getPeerDialogs.md
@@ -13,7 +13,7 @@ Get dialog info of peers
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
-|peers|Array of [InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes|
+|peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes|
### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md)
diff --git a/old_docs/API_docs_v81/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v81/methods/messages_reorderPinnedDialogs.md
index 8f5b821d..78a2863c 100644
--- a/old_docs/API_docs_v81/methods/messages_reorderPinnedDialogs.md
+++ b/old_docs/API_docs_v81/methods/messages_reorderPinnedDialogs.md
@@ -14,7 +14,7 @@ Reorder pinned dialogs
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|force|[Bool](../types/Bool.md) | Force reordering | Optional|
-|order|Array of [InputDialogPeer](../types/InputDialogPeer.md) | New order | Yes|
+|order|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | New order | Yes|
### Return type: [Bool](../types/Bool.md)
diff --git a/old_docs/API_docs_v81/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v81/methods/messages_toggleDialogPin.md
index ee17a462..20918a7d 100644
--- a/old_docs/API_docs_v81/methods/messages_toggleDialogPin.md
+++ b/old_docs/API_docs_v81/methods/messages_toggleDialogPin.md
@@ -14,7 +14,7 @@ Pin or unpin dialog
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|pinned|[Bool](../types/Bool.md) | Pin or unpin the dialog? | Optional|
-|peer|[InputDialogPeer](../types/InputDialogPeer.md) | The dialog to pin | Yes|
+|peer|[Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The dialog to pin | Yes|
### Return type: [Bool](../types/Bool.md)
diff --git a/old_docs/API_docs_v81/types/Chat.md b/old_docs/API_docs_v81/types/Chat.md
index a93e9666..cd83aacb 100644
--- a/old_docs/API_docs_v81/types/Chat.md
+++ b/old_docs/API_docs_v81/types/Chat.md
@@ -29,7 +29,7 @@ $Chat = 'chat#492772765'; // tg-cli style id (chats)
$Chat = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v81/types/DialogPeer.md b/old_docs/API_docs_v81/types/DialogPeer.md
index 1a6c4cc3..38c9bf0a 100644
--- a/old_docs/API_docs_v81/types/DialogPeer.md
+++ b/old_docs/API_docs_v81/types/DialogPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$DialogPeer = '@username'; // Username
+
+$DialogPeer = 'me'; // The currently logged-in user
+
+$DialogPeer = 44700; // bot API id (users)
+$DialogPeer = -492772765; // bot API id (chats)
+$DialogPeer = -10038575794; // bot API id (channels)
+
+$DialogPeer = 'https://t.me/danogentili'; // t.me URLs
+$DialogPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$DialogPeer = 'user#44700'; // tg-cli style id (users)
+$DialogPeer = 'chat#492772765'; // tg-cli style id (chats)
+$DialogPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[dialogPeer](../constructors/dialogPeer.md)
diff --git a/old_docs/API_docs_v81/types/InputChannel.md b/old_docs/API_docs_v81/types/InputChannel.md
index bcf52c53..3882099d 100644
--- a/old_docs/API_docs_v81/types/InputChannel.md
+++ b/old_docs/API_docs_v81/types/InputChannel.md
@@ -29,7 +29,7 @@ $InputChannel = 'chat#492772765'; // tg-cli style id (chats)
$InputChannel = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v81/types/InputDialogPeer.md b/old_docs/API_docs_v81/types/InputDialogPeer.md
index 2dec7525..665ea204 100644
--- a/old_docs/API_docs_v81/types/InputDialogPeer.md
+++ b/old_docs/API_docs_v81/types/InputDialogPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputDialogPeer = '@username'; // Username
+
+$InputDialogPeer = 'me'; // The currently logged-in user
+
+$InputDialogPeer = 44700; // bot API id (users)
+$InputDialogPeer = -492772765; // bot API id (chats)
+$InputDialogPeer = -10038575794; // bot API id (channels)
+
+$InputDialogPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputDialogPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputDialogPeer = 'user#44700'; // tg-cli style id (users)
+$InputDialogPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputDialogPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputDialogPeer](../constructors/inputDialogPeer.md)
diff --git a/old_docs/API_docs_v81/types/InputNotifyPeer.md b/old_docs/API_docs_v81/types/InputNotifyPeer.md
index c99acd02..813d3acb 100644
--- a/old_docs/API_docs_v81/types/InputNotifyPeer.md
+++ b/old_docs/API_docs_v81/types/InputNotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$InputNotifyPeer = '@username'; // Username
+
+$InputNotifyPeer = 'me'; // The currently logged-in user
+
+$InputNotifyPeer = 44700; // bot API id (users)
+$InputNotifyPeer = -492772765; // bot API id (chats)
+$InputNotifyPeer = -10038575794; // bot API id (channels)
+
+$InputNotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$InputNotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$InputNotifyPeer = 'user#44700'; // tg-cli style id (users)
+$InputNotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$InputNotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[inputNotifyPeer](../constructors/inputNotifyPeer.md)
diff --git a/old_docs/API_docs_v81/types/InputPeer.md b/old_docs/API_docs_v81/types/InputPeer.md
index 172bc5e2..2076c00b 100644
--- a/old_docs/API_docs_v81/types/InputPeer.md
+++ b/old_docs/API_docs_v81/types/InputPeer.md
@@ -29,7 +29,7 @@ $InputPeer = 'chat#492772765'; // tg-cli style id (chats)
$InputPeer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v81/types/InputUser.md b/old_docs/API_docs_v81/types/InputUser.md
index 0c08a76a..7778caf6 100644
--- a/old_docs/API_docs_v81/types/InputUser.md
+++ b/old_docs/API_docs_v81/types/InputUser.md
@@ -29,7 +29,7 @@ $InputUser = 'chat#492772765'; // tg-cli style id (chats)
$InputUser = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v81/types/NotifyPeer.md b/old_docs/API_docs_v81/types/NotifyPeer.md
index 45b3d1ac..74b12b28 100644
--- a/old_docs/API_docs_v81/types/NotifyPeer.md
+++ b/old_docs/API_docs_v81/types/NotifyPeer.md
@@ -8,6 +8,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id.
+
+The following syntaxes can also be used:
+
+```
+$NotifyPeer = '@username'; // Username
+
+$NotifyPeer = 'me'; // The currently logged-in user
+
+$NotifyPeer = 44700; // bot API id (users)
+$NotifyPeer = -492772765; // bot API id (chats)
+$NotifyPeer = -10038575794; // bot API id (channels)
+
+$NotifyPeer = 'https://t.me/danogentili'; // t.me URLs
+$NotifyPeer = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links
+
+$NotifyPeer = 'user#44700'; // tg-cli style id (users)
+$NotifyPeer = 'chat#492772765'; // tg-cli style id (chats)
+$NotifyPeer = 'channel#38575794'; // tg-cli style id (channels)
+```
+
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
+
+
### Possible values (constructors):
[notifyPeer](../constructors/notifyPeer.md)
diff --git a/old_docs/API_docs_v81/types/Peer.md b/old_docs/API_docs_v81/types/Peer.md
index ca693596..ebb98e91 100644
--- a/old_docs/API_docs_v81/types/Peer.md
+++ b/old_docs/API_docs_v81/types/Peer.md
@@ -29,7 +29,7 @@ $Peer = 'chat#492772765'; // tg-cli style id (chats)
$Peer = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):
diff --git a/old_docs/API_docs_v81/types/User.md b/old_docs/API_docs_v81/types/User.md
index 3f0af641..3abd182f 100644
--- a/old_docs/API_docs_v81/types/User.md
+++ b/old_docs/API_docs_v81/types/User.md
@@ -29,7 +29,7 @@ $User = 'chat#492772765'; // tg-cli style id (chats)
$User = 'channel#38575794'; // tg-cli style id (channels)
```
-A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), or a [Chat](Chat.md) object can also be used.
+A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.
### Possible values (constructors):