From 3a29b36e24098313ce2eb1669cfef8510bc720da Mon Sep 17 00:00:00 2001 From: danogentili Date: Sun, 12 Feb 2017 20:34:54 +0300 Subject: [PATCH] Small documentation fixes --- docs/API_docs/types/Chat.md | 14 +++++++------- docs/API_docs/types/InputChannel.md | 14 +++++++------- docs/API_docs/types/InputPeer.md | 14 +++++++------- docs/API_docs/types/InputUser.md | 14 +++++++------- docs/API_docs/types/Peer.md | 14 +++++++------- docs/API_docs/types/User.md | 14 +++++++------- old_docs/API_docs_v18/types/Chat.md | 14 +++++++------- old_docs/API_docs_v18/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v18/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v18/types/Peer.md | 14 +++++++------- old_docs/API_docs_v18/types/User.md | 14 +++++++------- old_docs/API_docs_v23/types/Chat.md | 14 +++++++------- old_docs/API_docs_v23/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v23/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v23/types/Peer.md | 14 +++++++------- old_docs/API_docs_v23/types/User.md | 14 +++++++------- old_docs/API_docs_v25/types/Chat.md | 14 +++++++------- old_docs/API_docs_v25/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v25/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v25/types/Peer.md | 14 +++++++------- old_docs/API_docs_v25/types/User.md | 14 +++++++------- old_docs/API_docs_v27/types/Chat.md | 14 +++++++------- old_docs/API_docs_v27/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v27/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v27/types/Peer.md | 14 +++++++------- old_docs/API_docs_v27/types/User.md | 14 +++++++------- old_docs/API_docs_v33/types/Chat.md | 14 +++++++------- old_docs/API_docs_v33/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v33/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v33/types/Peer.md | 14 +++++++------- old_docs/API_docs_v33/types/User.md | 14 +++++++------- old_docs/API_docs_v38/types/Chat.md | 14 +++++++------- old_docs/API_docs_v38/types/InputChannel.md | 14 +++++++------- old_docs/API_docs_v38/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v38/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v38/types/Peer.md | 14 +++++++------- old_docs/API_docs_v38/types/User.md | 14 +++++++------- old_docs/API_docs_v40/types/Chat.md | 14 +++++++------- old_docs/API_docs_v40/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v40/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v40/types/Peer.md | 14 +++++++------- old_docs/API_docs_v40/types/User.md | 14 +++++++------- old_docs/API_docs_v41/types/Chat.md | 14 +++++++------- old_docs/API_docs_v41/types/InputChannel.md | 14 +++++++------- old_docs/API_docs_v41/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v41/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v41/types/Peer.md | 14 +++++++------- old_docs/API_docs_v41/types/User.md | 14 +++++++------- old_docs/API_docs_v42/types/Chat.md | 14 +++++++------- old_docs/API_docs_v42/types/InputChannel.md | 14 +++++++------- old_docs/API_docs_v42/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v42/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v42/types/Peer.md | 14 +++++++------- old_docs/API_docs_v42/types/User.md | 14 +++++++------- old_docs/API_docs_v44/types/Chat.md | 14 +++++++------- old_docs/API_docs_v44/types/InputChannel.md | 14 +++++++------- old_docs/API_docs_v44/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v44/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v44/types/Peer.md | 14 +++++++------- old_docs/API_docs_v44/types/User.md | 14 +++++++------- old_docs/API_docs_v45/types/Chat.md | 14 +++++++------- old_docs/API_docs_v45/types/InputChannel.md | 14 +++++++------- old_docs/API_docs_v45/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v45/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v45/types/Peer.md | 14 +++++++------- old_docs/API_docs_v45/types/User.md | 14 +++++++------- old_docs/API_docs_v46/types/Chat.md | 14 +++++++------- old_docs/API_docs_v46/types/InputChannel.md | 14 +++++++------- old_docs/API_docs_v46/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v46/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v46/types/Peer.md | 14 +++++++------- old_docs/API_docs_v46/types/User.md | 14 +++++++------- old_docs/API_docs_v51/types/Chat.md | 14 +++++++------- old_docs/API_docs_v51/types/InputChannel.md | 14 +++++++------- old_docs/API_docs_v51/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v51/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v51/types/Peer.md | 14 +++++++------- old_docs/API_docs_v51/types/User.md | 14 +++++++------- old_docs/API_docs_v53/types/Chat.md | 14 +++++++------- old_docs/API_docs_v53/types/InputChannel.md | 14 +++++++------- old_docs/API_docs_v53/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v53/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v53/types/Peer.md | 14 +++++++------- old_docs/API_docs_v53/types/User.md | 14 +++++++------- old_docs/API_docs_v55/types/Chat.md | 14 +++++++------- old_docs/API_docs_v55/types/InputChannel.md | 14 +++++++------- old_docs/API_docs_v55/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v55/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v55/types/Peer.md | 14 +++++++------- old_docs/API_docs_v55/types/User.md | 14 +++++++------- old_docs/API_docs_v57/types/Chat.md | 14 +++++++------- old_docs/API_docs_v57/types/InputChannel.md | 14 +++++++------- old_docs/API_docs_v57/types/InputPeer.md | 14 +++++++------- old_docs/API_docs_v57/types/InputUser.md | 14 +++++++------- old_docs/API_docs_v57/types/Peer.md | 14 +++++++------- old_docs/API_docs_v57/types/User.md | 14 +++++++------- src/danog/MadelineProto/DocsBuilder.php | 14 +++++++------- 97 files changed, 679 insertions(+), 679 deletions(-) diff --git a/docs/API_docs/types/Chat.md b/docs/API_docs/types/Chat.md index 4f470e1d..c213ab8a 100644 --- a/docs/API_docs/types/Chat.md +++ b/docs/API_docs/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$phoneCallDiscardReasonBusy = '@username'; // Username +$Chat = '@username'; // Username -$phoneCallDiscardReasonBusy = 44700; // bot API id (users) -$phoneCallDiscardReasonBusy = -492772765; // bot API id (chats) -$phoneCallDiscardReasonBusy = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$phoneCallDiscardReasonBusy = 'user#44700'; // tg-cli style id (users) -$phoneCallDiscardReasonBusy = 'chat#492772765'; // tg-cli style id (chats) -$phoneCallDiscardReasonBusy = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/docs/API_docs/types/InputChannel.md b/docs/API_docs/types/InputChannel.md index 30e3082c..7c34525a 100644 --- a/docs/API_docs/types/InputChannel.md +++ b/docs/API_docs/types/InputChannel.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputChannel The following syntaxes can also be used: ``` -$phoneCallDiscardReasonBusy = '@username'; // Username +$InputChannel = '@username'; // Username -$phoneCallDiscardReasonBusy = 44700; // bot API id (users) -$phoneCallDiscardReasonBusy = -492772765; // bot API id (chats) -$phoneCallDiscardReasonBusy = -10038575794; // bot API id (channels) +$InputChannel = 44700; // bot API id (users) +$InputChannel = -492772765; // bot API id (chats) +$InputChannel = -10038575794; // bot API id (channels) -$phoneCallDiscardReasonBusy = 'user#44700'; // tg-cli style id (users) -$phoneCallDiscardReasonBusy = 'chat#492772765'; // tg-cli style id (chats) -$phoneCallDiscardReasonBusy = 'channel#38575794'; // tg-cli style id (channels) +$InputChannel = 'user#44700'; // tg-cli style id (users) +$InputChannel = 'chat#492772765'; // tg-cli style id (chats) +$InputChannel = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/docs/API_docs/types/InputPeer.md b/docs/API_docs/types/InputPeer.md index f4c35c30..03e69596 100644 --- a/docs/API_docs/types/InputPeer.md +++ b/docs/API_docs/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$phoneCallDiscardReasonBusy = '@username'; // Username +$InputPeer = '@username'; // Username -$phoneCallDiscardReasonBusy = 44700; // bot API id (users) -$phoneCallDiscardReasonBusy = -492772765; // bot API id (chats) -$phoneCallDiscardReasonBusy = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$phoneCallDiscardReasonBusy = 'user#44700'; // tg-cli style id (users) -$phoneCallDiscardReasonBusy = 'chat#492772765'; // tg-cli style id (chats) -$phoneCallDiscardReasonBusy = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/docs/API_docs/types/InputUser.md b/docs/API_docs/types/InputUser.md index c4ebc01b..d8830b5c 100644 --- a/docs/API_docs/types/InputUser.md +++ b/docs/API_docs/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$phoneCallDiscardReasonBusy = '@username'; // Username +$InputUser = '@username'; // Username -$phoneCallDiscardReasonBusy = 44700; // bot API id (users) -$phoneCallDiscardReasonBusy = -492772765; // bot API id (chats) -$phoneCallDiscardReasonBusy = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$phoneCallDiscardReasonBusy = 'user#44700'; // tg-cli style id (users) -$phoneCallDiscardReasonBusy = 'chat#492772765'; // tg-cli style id (chats) -$phoneCallDiscardReasonBusy = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/docs/API_docs/types/Peer.md b/docs/API_docs/types/Peer.md index 5f6cb3c3..f4ffb2b2 100644 --- a/docs/API_docs/types/Peer.md +++ b/docs/API_docs/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$phoneCallDiscardReasonBusy = '@username'; // Username +$Peer = '@username'; // Username -$phoneCallDiscardReasonBusy = 44700; // bot API id (users) -$phoneCallDiscardReasonBusy = -492772765; // bot API id (chats) -$phoneCallDiscardReasonBusy = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$phoneCallDiscardReasonBusy = 'user#44700'; // tg-cli style id (users) -$phoneCallDiscardReasonBusy = 'chat#492772765'; // tg-cli style id (chats) -$phoneCallDiscardReasonBusy = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/docs/API_docs/types/User.md b/docs/API_docs/types/User.md index 1a333261..f0723874 100644 --- a/docs/API_docs/types/User.md +++ b/docs/API_docs/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$phoneCallDiscardReasonBusy = '@username'; // Username +$User = '@username'; // Username -$phoneCallDiscardReasonBusy = 44700; // bot API id (users) -$phoneCallDiscardReasonBusy = -492772765; // bot API id (chats) -$phoneCallDiscardReasonBusy = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$phoneCallDiscardReasonBusy = 'user#44700'; // tg-cli style id (users) -$phoneCallDiscardReasonBusy = 'chat#492772765'; // tg-cli style id (chats) -$phoneCallDiscardReasonBusy = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v18/types/Chat.md b/old_docs/API_docs_v18/types/Chat.md index 7ddf1175..5f753a35 100644 --- a/old_docs/API_docs_v18/types/Chat.md +++ b/old_docs/API_docs_v18/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$updateServiceNotification = '@username'; // Username +$Chat = '@username'; // Username -$updateServiceNotification = 44700; // bot API id (users) -$updateServiceNotification = -492772765; // bot API id (chats) -$updateServiceNotification = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$updateServiceNotification = 'user#44700'; // tg-cli style id (users) -$updateServiceNotification = 'chat#492772765'; // tg-cli style id (chats) -$updateServiceNotification = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v18/types/InputPeer.md b/old_docs/API_docs_v18/types/InputPeer.md index 1f84680f..67c4356f 100644 --- a/old_docs/API_docs_v18/types/InputPeer.md +++ b/old_docs/API_docs_v18/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$updateServiceNotification = '@username'; // Username +$InputPeer = '@username'; // Username -$updateServiceNotification = 44700; // bot API id (users) -$updateServiceNotification = -492772765; // bot API id (chats) -$updateServiceNotification = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$updateServiceNotification = 'user#44700'; // tg-cli style id (users) -$updateServiceNotification = 'chat#492772765'; // tg-cli style id (chats) -$updateServiceNotification = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v18/types/InputUser.md b/old_docs/API_docs_v18/types/InputUser.md index fe4893c6..9158a92c 100644 --- a/old_docs/API_docs_v18/types/InputUser.md +++ b/old_docs/API_docs_v18/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$updateServiceNotification = '@username'; // Username +$InputUser = '@username'; // Username -$updateServiceNotification = 44700; // bot API id (users) -$updateServiceNotification = -492772765; // bot API id (chats) -$updateServiceNotification = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$updateServiceNotification = 'user#44700'; // tg-cli style id (users) -$updateServiceNotification = 'chat#492772765'; // tg-cli style id (chats) -$updateServiceNotification = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v18/types/Peer.md b/old_docs/API_docs_v18/types/Peer.md index 3818bff9..62d93b05 100644 --- a/old_docs/API_docs_v18/types/Peer.md +++ b/old_docs/API_docs_v18/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$updateServiceNotification = '@username'; // Username +$Peer = '@username'; // Username -$updateServiceNotification = 44700; // bot API id (users) -$updateServiceNotification = -492772765; // bot API id (chats) -$updateServiceNotification = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$updateServiceNotification = 'user#44700'; // tg-cli style id (users) -$updateServiceNotification = 'chat#492772765'; // tg-cli style id (chats) -$updateServiceNotification = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v18/types/User.md b/old_docs/API_docs_v18/types/User.md index a997f726..a0ccaefc 100644 --- a/old_docs/API_docs_v18/types/User.md +++ b/old_docs/API_docs_v18/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$updateServiceNotification = '@username'; // Username +$User = '@username'; // Username -$updateServiceNotification = 44700; // bot API id (users) -$updateServiceNotification = -492772765; // bot API id (chats) -$updateServiceNotification = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$updateServiceNotification = 'user#44700'; // tg-cli style id (users) -$updateServiceNotification = 'chat#492772765'; // tg-cli style id (chats) -$updateServiceNotification = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v23/types/Chat.md b/old_docs/API_docs_v23/types/Chat.md index 80aa84d8..5f753a35 100644 --- a/old_docs/API_docs_v23/types/Chat.md +++ b/old_docs/API_docs_v23/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$disabledFeature = '@username'; // Username +$Chat = '@username'; // Username -$disabledFeature = 44700; // bot API id (users) -$disabledFeature = -492772765; // bot API id (chats) -$disabledFeature = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$disabledFeature = 'user#44700'; // tg-cli style id (users) -$disabledFeature = 'chat#492772765'; // tg-cli style id (chats) -$disabledFeature = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v23/types/InputPeer.md b/old_docs/API_docs_v23/types/InputPeer.md index 37fd59fe..67c4356f 100644 --- a/old_docs/API_docs_v23/types/InputPeer.md +++ b/old_docs/API_docs_v23/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$disabledFeature = '@username'; // Username +$InputPeer = '@username'; // Username -$disabledFeature = 44700; // bot API id (users) -$disabledFeature = -492772765; // bot API id (chats) -$disabledFeature = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$disabledFeature = 'user#44700'; // tg-cli style id (users) -$disabledFeature = 'chat#492772765'; // tg-cli style id (chats) -$disabledFeature = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v23/types/InputUser.md b/old_docs/API_docs_v23/types/InputUser.md index 3c620be6..9158a92c 100644 --- a/old_docs/API_docs_v23/types/InputUser.md +++ b/old_docs/API_docs_v23/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$disabledFeature = '@username'; // Username +$InputUser = '@username'; // Username -$disabledFeature = 44700; // bot API id (users) -$disabledFeature = -492772765; // bot API id (chats) -$disabledFeature = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$disabledFeature = 'user#44700'; // tg-cli style id (users) -$disabledFeature = 'chat#492772765'; // tg-cli style id (chats) -$disabledFeature = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v23/types/Peer.md b/old_docs/API_docs_v23/types/Peer.md index 3b5b4caa..62d93b05 100644 --- a/old_docs/API_docs_v23/types/Peer.md +++ b/old_docs/API_docs_v23/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$disabledFeature = '@username'; // Username +$Peer = '@username'; // Username -$disabledFeature = 44700; // bot API id (users) -$disabledFeature = -492772765; // bot API id (chats) -$disabledFeature = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$disabledFeature = 'user#44700'; // tg-cli style id (users) -$disabledFeature = 'chat#492772765'; // tg-cli style id (chats) -$disabledFeature = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v23/types/User.md b/old_docs/API_docs_v23/types/User.md index 0a8fcab0..315bc8e6 100644 --- a/old_docs/API_docs_v23/types/User.md +++ b/old_docs/API_docs_v23/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$disabledFeature = '@username'; // Username +$User = '@username'; // Username -$disabledFeature = 44700; // bot API id (users) -$disabledFeature = -492772765; // bot API id (chats) -$disabledFeature = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$disabledFeature = 'user#44700'; // tg-cli style id (users) -$disabledFeature = 'chat#492772765'; // tg-cli style id (chats) -$disabledFeature = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v25/types/Chat.md b/old_docs/API_docs_v25/types/Chat.md index 3ce4642b..9095bf24 100644 --- a/old_docs/API_docs_v25/types/Chat.md +++ b/old_docs/API_docs_v25/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$contactLinkContact = '@username'; // Username +$Chat = '@username'; // Username -$contactLinkContact = 44700; // bot API id (users) -$contactLinkContact = -492772765; // bot API id (chats) -$contactLinkContact = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$contactLinkContact = 'user#44700'; // tg-cli style id (users) -$contactLinkContact = 'chat#492772765'; // tg-cli style id (chats) -$contactLinkContact = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v25/types/InputPeer.md b/old_docs/API_docs_v25/types/InputPeer.md index d79aea41..67c4356f 100644 --- a/old_docs/API_docs_v25/types/InputPeer.md +++ b/old_docs/API_docs_v25/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$contactLinkContact = '@username'; // Username +$InputPeer = '@username'; // Username -$contactLinkContact = 44700; // bot API id (users) -$contactLinkContact = -492772765; // bot API id (chats) -$contactLinkContact = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$contactLinkContact = 'user#44700'; // tg-cli style id (users) -$contactLinkContact = 'chat#492772765'; // tg-cli style id (chats) -$contactLinkContact = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v25/types/InputUser.md b/old_docs/API_docs_v25/types/InputUser.md index 4acadd9a..9158a92c 100644 --- a/old_docs/API_docs_v25/types/InputUser.md +++ b/old_docs/API_docs_v25/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$contactLinkContact = '@username'; // Username +$InputUser = '@username'; // Username -$contactLinkContact = 44700; // bot API id (users) -$contactLinkContact = -492772765; // bot API id (chats) -$contactLinkContact = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$contactLinkContact = 'user#44700'; // tg-cli style id (users) -$contactLinkContact = 'chat#492772765'; // tg-cli style id (chats) -$contactLinkContact = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v25/types/Peer.md b/old_docs/API_docs_v25/types/Peer.md index 03af9a17..62d93b05 100644 --- a/old_docs/API_docs_v25/types/Peer.md +++ b/old_docs/API_docs_v25/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$contactLinkContact = '@username'; // Username +$Peer = '@username'; // Username -$contactLinkContact = 44700; // bot API id (users) -$contactLinkContact = -492772765; // bot API id (chats) -$contactLinkContact = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$contactLinkContact = 'user#44700'; // tg-cli style id (users) -$contactLinkContact = 'chat#492772765'; // tg-cli style id (chats) -$contactLinkContact = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v25/types/User.md b/old_docs/API_docs_v25/types/User.md index d40ec3c0..315bc8e6 100644 --- a/old_docs/API_docs_v25/types/User.md +++ b/old_docs/API_docs_v25/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$contactLinkContact = '@username'; // Username +$User = '@username'; // Username -$contactLinkContact = 44700; // bot API id (users) -$contactLinkContact = -492772765; // bot API id (chats) -$contactLinkContact = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$contactLinkContact = 'user#44700'; // tg-cli style id (users) -$contactLinkContact = 'chat#492772765'; // tg-cli style id (chats) -$contactLinkContact = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v27/types/Chat.md b/old_docs/API_docs_v27/types/Chat.md index 42c986e3..9095bf24 100644 --- a/old_docs/API_docs_v27/types/Chat.md +++ b/old_docs/API_docs_v27/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$auth_passwordRecovery = '@username'; // Username +$Chat = '@username'; // Username -$auth_passwordRecovery = 44700; // bot API id (users) -$auth_passwordRecovery = -492772765; // bot API id (chats) -$auth_passwordRecovery = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$auth_passwordRecovery = 'user#44700'; // tg-cli style id (users) -$auth_passwordRecovery = 'chat#492772765'; // tg-cli style id (chats) -$auth_passwordRecovery = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v27/types/InputPeer.md b/old_docs/API_docs_v27/types/InputPeer.md index 0a15c6c9..67c4356f 100644 --- a/old_docs/API_docs_v27/types/InputPeer.md +++ b/old_docs/API_docs_v27/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$auth_passwordRecovery = '@username'; // Username +$InputPeer = '@username'; // Username -$auth_passwordRecovery = 44700; // bot API id (users) -$auth_passwordRecovery = -492772765; // bot API id (chats) -$auth_passwordRecovery = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$auth_passwordRecovery = 'user#44700'; // tg-cli style id (users) -$auth_passwordRecovery = 'chat#492772765'; // tg-cli style id (chats) -$auth_passwordRecovery = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v27/types/InputUser.md b/old_docs/API_docs_v27/types/InputUser.md index e24b6343..9158a92c 100644 --- a/old_docs/API_docs_v27/types/InputUser.md +++ b/old_docs/API_docs_v27/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$auth_passwordRecovery = '@username'; // Username +$InputUser = '@username'; // Username -$auth_passwordRecovery = 44700; // bot API id (users) -$auth_passwordRecovery = -492772765; // bot API id (chats) -$auth_passwordRecovery = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$auth_passwordRecovery = 'user#44700'; // tg-cli style id (users) -$auth_passwordRecovery = 'chat#492772765'; // tg-cli style id (chats) -$auth_passwordRecovery = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v27/types/Peer.md b/old_docs/API_docs_v27/types/Peer.md index fafb7d91..62d93b05 100644 --- a/old_docs/API_docs_v27/types/Peer.md +++ b/old_docs/API_docs_v27/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$auth_passwordRecovery = '@username'; // Username +$Peer = '@username'; // Username -$auth_passwordRecovery = 44700; // bot API id (users) -$auth_passwordRecovery = -492772765; // bot API id (chats) -$auth_passwordRecovery = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$auth_passwordRecovery = 'user#44700'; // tg-cli style id (users) -$auth_passwordRecovery = 'chat#492772765'; // tg-cli style id (chats) -$auth_passwordRecovery = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v27/types/User.md b/old_docs/API_docs_v27/types/User.md index 0e2295a3..315bc8e6 100644 --- a/old_docs/API_docs_v27/types/User.md +++ b/old_docs/API_docs_v27/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$auth_passwordRecovery = '@username'; // Username +$User = '@username'; // Username -$auth_passwordRecovery = 44700; // bot API id (users) -$auth_passwordRecovery = -492772765; // bot API id (chats) -$auth_passwordRecovery = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$auth_passwordRecovery = 'user#44700'; // tg-cli style id (users) -$auth_passwordRecovery = 'chat#492772765'; // tg-cli style id (chats) -$auth_passwordRecovery = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v33/types/Chat.md b/old_docs/API_docs_v33/types/Chat.md index 9bb0ba07..9095bf24 100644 --- a/old_docs/API_docs_v33/types/Chat.md +++ b/old_docs/API_docs_v33/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$help_appChangelog = '@username'; // Username +$Chat = '@username'; // Username -$help_appChangelog = 44700; // bot API id (users) -$help_appChangelog = -492772765; // bot API id (chats) -$help_appChangelog = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$help_appChangelog = 'user#44700'; // tg-cli style id (users) -$help_appChangelog = 'chat#492772765'; // tg-cli style id (chats) -$help_appChangelog = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v33/types/InputPeer.md b/old_docs/API_docs_v33/types/InputPeer.md index 3e76a988..e26eab15 100644 --- a/old_docs/API_docs_v33/types/InputPeer.md +++ b/old_docs/API_docs_v33/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$help_appChangelog = '@username'; // Username +$InputPeer = '@username'; // Username -$help_appChangelog = 44700; // bot API id (users) -$help_appChangelog = -492772765; // bot API id (chats) -$help_appChangelog = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$help_appChangelog = 'user#44700'; // tg-cli style id (users) -$help_appChangelog = 'chat#492772765'; // tg-cli style id (chats) -$help_appChangelog = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v33/types/InputUser.md b/old_docs/API_docs_v33/types/InputUser.md index ef5cc769..d8830b5c 100644 --- a/old_docs/API_docs_v33/types/InputUser.md +++ b/old_docs/API_docs_v33/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$help_appChangelog = '@username'; // Username +$InputUser = '@username'; // Username -$help_appChangelog = 44700; // bot API id (users) -$help_appChangelog = -492772765; // bot API id (chats) -$help_appChangelog = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$help_appChangelog = 'user#44700'; // tg-cli style id (users) -$help_appChangelog = 'chat#492772765'; // tg-cli style id (chats) -$help_appChangelog = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v33/types/Peer.md b/old_docs/API_docs_v33/types/Peer.md index 90c21cd1..62d93b05 100644 --- a/old_docs/API_docs_v33/types/Peer.md +++ b/old_docs/API_docs_v33/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$help_appChangelog = '@username'; // Username +$Peer = '@username'; // Username -$help_appChangelog = 44700; // bot API id (users) -$help_appChangelog = -492772765; // bot API id (chats) -$help_appChangelog = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$help_appChangelog = 'user#44700'; // tg-cli style id (users) -$help_appChangelog = 'chat#492772765'; // tg-cli style id (chats) -$help_appChangelog = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v33/types/User.md b/old_docs/API_docs_v33/types/User.md index 9206fb95..6203107a 100644 --- a/old_docs/API_docs_v33/types/User.md +++ b/old_docs/API_docs_v33/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$help_appChangelog = '@username'; // Username +$User = '@username'; // Username -$help_appChangelog = 44700; // bot API id (users) -$help_appChangelog = -492772765; // bot API id (chats) -$help_appChangelog = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$help_appChangelog = 'user#44700'; // tg-cli style id (users) -$help_appChangelog = 'chat#492772765'; // tg-cli style id (chats) -$help_appChangelog = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v38/types/Chat.md b/old_docs/API_docs_v38/types/Chat.md index 5434f5e0..c213ab8a 100644 --- a/old_docs/API_docs_v38/types/Chat.md +++ b/old_docs/API_docs_v38/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$channels_channelParticipant = '@username'; // Username +$Chat = '@username'; // Username -$channels_channelParticipant = 44700; // bot API id (users) -$channels_channelParticipant = -492772765; // bot API id (chats) -$channels_channelParticipant = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$channels_channelParticipant = 'user#44700'; // tg-cli style id (users) -$channels_channelParticipant = 'chat#492772765'; // tg-cli style id (chats) -$channels_channelParticipant = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v38/types/InputChannel.md b/old_docs/API_docs_v38/types/InputChannel.md index da530839..7c34525a 100644 --- a/old_docs/API_docs_v38/types/InputChannel.md +++ b/old_docs/API_docs_v38/types/InputChannel.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputChannel The following syntaxes can also be used: ``` -$channels_channelParticipant = '@username'; // Username +$InputChannel = '@username'; // Username -$channels_channelParticipant = 44700; // bot API id (users) -$channels_channelParticipant = -492772765; // bot API id (chats) -$channels_channelParticipant = -10038575794; // bot API id (channels) +$InputChannel = 44700; // bot API id (users) +$InputChannel = -492772765; // bot API id (chats) +$InputChannel = -10038575794; // bot API id (channels) -$channels_channelParticipant = 'user#44700'; // tg-cli style id (users) -$channels_channelParticipant = 'chat#492772765'; // tg-cli style id (chats) -$channels_channelParticipant = 'channel#38575794'; // tg-cli style id (channels) +$InputChannel = 'user#44700'; // tg-cli style id (users) +$InputChannel = 'chat#492772765'; // tg-cli style id (chats) +$InputChannel = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v38/types/InputPeer.md b/old_docs/API_docs_v38/types/InputPeer.md index fddcb971..03e69596 100644 --- a/old_docs/API_docs_v38/types/InputPeer.md +++ b/old_docs/API_docs_v38/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$channels_channelParticipant = '@username'; // Username +$InputPeer = '@username'; // Username -$channels_channelParticipant = 44700; // bot API id (users) -$channels_channelParticipant = -492772765; // bot API id (chats) -$channels_channelParticipant = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$channels_channelParticipant = 'user#44700'; // tg-cli style id (users) -$channels_channelParticipant = 'chat#492772765'; // tg-cli style id (chats) -$channels_channelParticipant = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v38/types/InputUser.md b/old_docs/API_docs_v38/types/InputUser.md index d2c9422f..d8830b5c 100644 --- a/old_docs/API_docs_v38/types/InputUser.md +++ b/old_docs/API_docs_v38/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$channels_channelParticipant = '@username'; // Username +$InputUser = '@username'; // Username -$channels_channelParticipant = 44700; // bot API id (users) -$channels_channelParticipant = -492772765; // bot API id (chats) -$channels_channelParticipant = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$channels_channelParticipant = 'user#44700'; // tg-cli style id (users) -$channels_channelParticipant = 'chat#492772765'; // tg-cli style id (chats) -$channels_channelParticipant = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v38/types/Peer.md b/old_docs/API_docs_v38/types/Peer.md index 6a4b569a..f4ffb2b2 100644 --- a/old_docs/API_docs_v38/types/Peer.md +++ b/old_docs/API_docs_v38/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$channels_channelParticipant = '@username'; // Username +$Peer = '@username'; // Username -$channels_channelParticipant = 44700; // bot API id (users) -$channels_channelParticipant = -492772765; // bot API id (chats) -$channels_channelParticipant = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$channels_channelParticipant = 'user#44700'; // tg-cli style id (users) -$channels_channelParticipant = 'chat#492772765'; // tg-cli style id (chats) -$channels_channelParticipant = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v38/types/User.md b/old_docs/API_docs_v38/types/User.md index bedd8647..86b2c27d 100644 --- a/old_docs/API_docs_v38/types/User.md +++ b/old_docs/API_docs_v38/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$channels_channelParticipant = '@username'; // Username +$User = '@username'; // Username -$channels_channelParticipant = 44700; // bot API id (users) -$channels_channelParticipant = -492772765; // bot API id (chats) -$channels_channelParticipant = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$channels_channelParticipant = 'user#44700'; // tg-cli style id (users) -$channels_channelParticipant = 'chat#492772765'; // tg-cli style id (chats) -$channels_channelParticipant = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v40/types/Chat.md b/old_docs/API_docs_v40/types/Chat.md index d53ea0b6..245a7198 100644 --- a/old_docs/API_docs_v40/types/Chat.md +++ b/old_docs/API_docs_v40/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$channelMessagesFilter = '@username'; // Username +$Chat = '@username'; // Username -$channelMessagesFilter = 44700; // bot API id (users) -$channelMessagesFilter = -492772765; // bot API id (chats) -$channelMessagesFilter = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$channelMessagesFilter = 'user#44700'; // tg-cli style id (users) -$channelMessagesFilter = 'chat#492772765'; // tg-cli style id (chats) -$channelMessagesFilter = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v40/types/InputPeer.md b/old_docs/API_docs_v40/types/InputPeer.md index ab8055c4..03e69596 100644 --- a/old_docs/API_docs_v40/types/InputPeer.md +++ b/old_docs/API_docs_v40/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$channelMessagesFilter = '@username'; // Username +$InputPeer = '@username'; // Username -$channelMessagesFilter = 44700; // bot API id (users) -$channelMessagesFilter = -492772765; // bot API id (chats) -$channelMessagesFilter = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$channelMessagesFilter = 'user#44700'; // tg-cli style id (users) -$channelMessagesFilter = 'chat#492772765'; // tg-cli style id (chats) -$channelMessagesFilter = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v40/types/InputUser.md b/old_docs/API_docs_v40/types/InputUser.md index 0dec8501..d8830b5c 100644 --- a/old_docs/API_docs_v40/types/InputUser.md +++ b/old_docs/API_docs_v40/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$channelMessagesFilter = '@username'; // Username +$InputUser = '@username'; // Username -$channelMessagesFilter = 44700; // bot API id (users) -$channelMessagesFilter = -492772765; // bot API id (chats) -$channelMessagesFilter = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$channelMessagesFilter = 'user#44700'; // tg-cli style id (users) -$channelMessagesFilter = 'chat#492772765'; // tg-cli style id (chats) -$channelMessagesFilter = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v40/types/Peer.md b/old_docs/API_docs_v40/types/Peer.md index c416001a..f4ffb2b2 100644 --- a/old_docs/API_docs_v40/types/Peer.md +++ b/old_docs/API_docs_v40/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$channelMessagesFilter = '@username'; // Username +$Peer = '@username'; // Username -$channelMessagesFilter = 44700; // bot API id (users) -$channelMessagesFilter = -492772765; // bot API id (chats) -$channelMessagesFilter = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$channelMessagesFilter = 'user#44700'; // tg-cli style id (users) -$channelMessagesFilter = 'chat#492772765'; // tg-cli style id (chats) -$channelMessagesFilter = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v40/types/User.md b/old_docs/API_docs_v40/types/User.md index dd2f3024..6203107a 100644 --- a/old_docs/API_docs_v40/types/User.md +++ b/old_docs/API_docs_v40/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$channelMessagesFilter = '@username'; // Username +$User = '@username'; // Username -$channelMessagesFilter = 44700; // bot API id (users) -$channelMessagesFilter = -492772765; // bot API id (chats) -$channelMessagesFilter = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$channelMessagesFilter = 'user#44700'; // tg-cli style id (users) -$channelMessagesFilter = 'chat#492772765'; // tg-cli style id (chats) -$channelMessagesFilter = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v41/types/Chat.md b/old_docs/API_docs_v41/types/Chat.md index 22918c2c..c213ab8a 100644 --- a/old_docs/API_docs_v41/types/Chat.md +++ b/old_docs/API_docs_v41/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$channelParticipantsBots = '@username'; // Username +$Chat = '@username'; // Username -$channelParticipantsBots = 44700; // bot API id (users) -$channelParticipantsBots = -492772765; // bot API id (chats) -$channelParticipantsBots = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$channelParticipantsBots = 'user#44700'; // tg-cli style id (users) -$channelParticipantsBots = 'chat#492772765'; // tg-cli style id (chats) -$channelParticipantsBots = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v41/types/InputChannel.md b/old_docs/API_docs_v41/types/InputChannel.md index df504c78..7c34525a 100644 --- a/old_docs/API_docs_v41/types/InputChannel.md +++ b/old_docs/API_docs_v41/types/InputChannel.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputChannel The following syntaxes can also be used: ``` -$channelParticipantsBots = '@username'; // Username +$InputChannel = '@username'; // Username -$channelParticipantsBots = 44700; // bot API id (users) -$channelParticipantsBots = -492772765; // bot API id (chats) -$channelParticipantsBots = -10038575794; // bot API id (channels) +$InputChannel = 44700; // bot API id (users) +$InputChannel = -492772765; // bot API id (chats) +$InputChannel = -10038575794; // bot API id (channels) -$channelParticipantsBots = 'user#44700'; // tg-cli style id (users) -$channelParticipantsBots = 'chat#492772765'; // tg-cli style id (chats) -$channelParticipantsBots = 'channel#38575794'; // tg-cli style id (channels) +$InputChannel = 'user#44700'; // tg-cli style id (users) +$InputChannel = 'chat#492772765'; // tg-cli style id (chats) +$InputChannel = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v41/types/InputPeer.md b/old_docs/API_docs_v41/types/InputPeer.md index b33f03e1..03e69596 100644 --- a/old_docs/API_docs_v41/types/InputPeer.md +++ b/old_docs/API_docs_v41/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$channelParticipantsBots = '@username'; // Username +$InputPeer = '@username'; // Username -$channelParticipantsBots = 44700; // bot API id (users) -$channelParticipantsBots = -492772765; // bot API id (chats) -$channelParticipantsBots = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$channelParticipantsBots = 'user#44700'; // tg-cli style id (users) -$channelParticipantsBots = 'chat#492772765'; // tg-cli style id (chats) -$channelParticipantsBots = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v41/types/InputUser.md b/old_docs/API_docs_v41/types/InputUser.md index e4bc1050..d8830b5c 100644 --- a/old_docs/API_docs_v41/types/InputUser.md +++ b/old_docs/API_docs_v41/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$channelParticipantsBots = '@username'; // Username +$InputUser = '@username'; // Username -$channelParticipantsBots = 44700; // bot API id (users) -$channelParticipantsBots = -492772765; // bot API id (chats) -$channelParticipantsBots = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$channelParticipantsBots = 'user#44700'; // tg-cli style id (users) -$channelParticipantsBots = 'chat#492772765'; // tg-cli style id (chats) -$channelParticipantsBots = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v41/types/Peer.md b/old_docs/API_docs_v41/types/Peer.md index 67d0c080..f4ffb2b2 100644 --- a/old_docs/API_docs_v41/types/Peer.md +++ b/old_docs/API_docs_v41/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$channelParticipantsBots = '@username'; // Username +$Peer = '@username'; // Username -$channelParticipantsBots = 44700; // bot API id (users) -$channelParticipantsBots = -492772765; // bot API id (chats) -$channelParticipantsBots = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$channelParticipantsBots = 'user#44700'; // tg-cli style id (users) -$channelParticipantsBots = 'chat#492772765'; // tg-cli style id (chats) -$channelParticipantsBots = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v41/types/User.md b/old_docs/API_docs_v41/types/User.md index 51207337..86b2c27d 100644 --- a/old_docs/API_docs_v41/types/User.md +++ b/old_docs/API_docs_v41/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$channelParticipantsBots = '@username'; // Username +$User = '@username'; // Username -$channelParticipantsBots = 44700; // bot API id (users) -$channelParticipantsBots = -492772765; // bot API id (chats) -$channelParticipantsBots = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$channelParticipantsBots = 'user#44700'; // tg-cli style id (users) -$channelParticipantsBots = 'chat#492772765'; // tg-cli style id (chats) -$channelParticipantsBots = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v42/types/Chat.md b/old_docs/API_docs_v42/types/Chat.md index 22918c2c..c213ab8a 100644 --- a/old_docs/API_docs_v42/types/Chat.md +++ b/old_docs/API_docs_v42/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$channelParticipantsBots = '@username'; // Username +$Chat = '@username'; // Username -$channelParticipantsBots = 44700; // bot API id (users) -$channelParticipantsBots = -492772765; // bot API id (chats) -$channelParticipantsBots = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$channelParticipantsBots = 'user#44700'; // tg-cli style id (users) -$channelParticipantsBots = 'chat#492772765'; // tg-cli style id (chats) -$channelParticipantsBots = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v42/types/InputChannel.md b/old_docs/API_docs_v42/types/InputChannel.md index df504c78..7c34525a 100644 --- a/old_docs/API_docs_v42/types/InputChannel.md +++ b/old_docs/API_docs_v42/types/InputChannel.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputChannel The following syntaxes can also be used: ``` -$channelParticipantsBots = '@username'; // Username +$InputChannel = '@username'; // Username -$channelParticipantsBots = 44700; // bot API id (users) -$channelParticipantsBots = -492772765; // bot API id (chats) -$channelParticipantsBots = -10038575794; // bot API id (channels) +$InputChannel = 44700; // bot API id (users) +$InputChannel = -492772765; // bot API id (chats) +$InputChannel = -10038575794; // bot API id (channels) -$channelParticipantsBots = 'user#44700'; // tg-cli style id (users) -$channelParticipantsBots = 'chat#492772765'; // tg-cli style id (chats) -$channelParticipantsBots = 'channel#38575794'; // tg-cli style id (channels) +$InputChannel = 'user#44700'; // tg-cli style id (users) +$InputChannel = 'chat#492772765'; // tg-cli style id (chats) +$InputChannel = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v42/types/InputPeer.md b/old_docs/API_docs_v42/types/InputPeer.md index b33f03e1..03e69596 100644 --- a/old_docs/API_docs_v42/types/InputPeer.md +++ b/old_docs/API_docs_v42/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$channelParticipantsBots = '@username'; // Username +$InputPeer = '@username'; // Username -$channelParticipantsBots = 44700; // bot API id (users) -$channelParticipantsBots = -492772765; // bot API id (chats) -$channelParticipantsBots = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$channelParticipantsBots = 'user#44700'; // tg-cli style id (users) -$channelParticipantsBots = 'chat#492772765'; // tg-cli style id (chats) -$channelParticipantsBots = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v42/types/InputUser.md b/old_docs/API_docs_v42/types/InputUser.md index e4bc1050..d8830b5c 100644 --- a/old_docs/API_docs_v42/types/InputUser.md +++ b/old_docs/API_docs_v42/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$channelParticipantsBots = '@username'; // Username +$InputUser = '@username'; // Username -$channelParticipantsBots = 44700; // bot API id (users) -$channelParticipantsBots = -492772765; // bot API id (chats) -$channelParticipantsBots = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$channelParticipantsBots = 'user#44700'; // tg-cli style id (users) -$channelParticipantsBots = 'chat#492772765'; // tg-cli style id (chats) -$channelParticipantsBots = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v42/types/Peer.md b/old_docs/API_docs_v42/types/Peer.md index 67d0c080..f4ffb2b2 100644 --- a/old_docs/API_docs_v42/types/Peer.md +++ b/old_docs/API_docs_v42/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$channelParticipantsBots = '@username'; // Username +$Peer = '@username'; // Username -$channelParticipantsBots = 44700; // bot API id (users) -$channelParticipantsBots = -492772765; // bot API id (chats) -$channelParticipantsBots = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$channelParticipantsBots = 'user#44700'; // tg-cli style id (users) -$channelParticipantsBots = 'chat#492772765'; // tg-cli style id (chats) -$channelParticipantsBots = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v42/types/User.md b/old_docs/API_docs_v42/types/User.md index 51207337..86b2c27d 100644 --- a/old_docs/API_docs_v42/types/User.md +++ b/old_docs/API_docs_v42/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$channelParticipantsBots = '@username'; // Username +$User = '@username'; // Username -$channelParticipantsBots = 44700; // bot API id (users) -$channelParticipantsBots = -492772765; // bot API id (chats) -$channelParticipantsBots = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$channelParticipantsBots = 'user#44700'; // tg-cli style id (users) -$channelParticipantsBots = 'chat#492772765'; // tg-cli style id (chats) -$channelParticipantsBots = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v44/types/Chat.md b/old_docs/API_docs_v44/types/Chat.md index 97c03cd1..c213ab8a 100644 --- a/old_docs/API_docs_v44/types/Chat.md +++ b/old_docs/API_docs_v44/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$messages_foundGifs = '@username'; // Username +$Chat = '@username'; // Username -$messages_foundGifs = 44700; // bot API id (users) -$messages_foundGifs = -492772765; // bot API id (chats) -$messages_foundGifs = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$messages_foundGifs = 'user#44700'; // tg-cli style id (users) -$messages_foundGifs = 'chat#492772765'; // tg-cli style id (chats) -$messages_foundGifs = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v44/types/InputChannel.md b/old_docs/API_docs_v44/types/InputChannel.md index 77dfd593..7c34525a 100644 --- a/old_docs/API_docs_v44/types/InputChannel.md +++ b/old_docs/API_docs_v44/types/InputChannel.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputChannel The following syntaxes can also be used: ``` -$messages_foundGifs = '@username'; // Username +$InputChannel = '@username'; // Username -$messages_foundGifs = 44700; // bot API id (users) -$messages_foundGifs = -492772765; // bot API id (chats) -$messages_foundGifs = -10038575794; // bot API id (channels) +$InputChannel = 44700; // bot API id (users) +$InputChannel = -492772765; // bot API id (chats) +$InputChannel = -10038575794; // bot API id (channels) -$messages_foundGifs = 'user#44700'; // tg-cli style id (users) -$messages_foundGifs = 'chat#492772765'; // tg-cli style id (chats) -$messages_foundGifs = 'channel#38575794'; // tg-cli style id (channels) +$InputChannel = 'user#44700'; // tg-cli style id (users) +$InputChannel = 'chat#492772765'; // tg-cli style id (chats) +$InputChannel = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v44/types/InputPeer.md b/old_docs/API_docs_v44/types/InputPeer.md index 4dfbf2e7..03e69596 100644 --- a/old_docs/API_docs_v44/types/InputPeer.md +++ b/old_docs/API_docs_v44/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$messages_foundGifs = '@username'; // Username +$InputPeer = '@username'; // Username -$messages_foundGifs = 44700; // bot API id (users) -$messages_foundGifs = -492772765; // bot API id (chats) -$messages_foundGifs = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$messages_foundGifs = 'user#44700'; // tg-cli style id (users) -$messages_foundGifs = 'chat#492772765'; // tg-cli style id (chats) -$messages_foundGifs = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v44/types/InputUser.md b/old_docs/API_docs_v44/types/InputUser.md index 7fec458d..d8830b5c 100644 --- a/old_docs/API_docs_v44/types/InputUser.md +++ b/old_docs/API_docs_v44/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$messages_foundGifs = '@username'; // Username +$InputUser = '@username'; // Username -$messages_foundGifs = 44700; // bot API id (users) -$messages_foundGifs = -492772765; // bot API id (chats) -$messages_foundGifs = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$messages_foundGifs = 'user#44700'; // tg-cli style id (users) -$messages_foundGifs = 'chat#492772765'; // tg-cli style id (chats) -$messages_foundGifs = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v44/types/Peer.md b/old_docs/API_docs_v44/types/Peer.md index 3badd180..f4ffb2b2 100644 --- a/old_docs/API_docs_v44/types/Peer.md +++ b/old_docs/API_docs_v44/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$messages_foundGifs = '@username'; // Username +$Peer = '@username'; // Username -$messages_foundGifs = 44700; // bot API id (users) -$messages_foundGifs = -492772765; // bot API id (chats) -$messages_foundGifs = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$messages_foundGifs = 'user#44700'; // tg-cli style id (users) -$messages_foundGifs = 'chat#492772765'; // tg-cli style id (chats) -$messages_foundGifs = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v44/types/User.md b/old_docs/API_docs_v44/types/User.md index b7eb6183..86b2c27d 100644 --- a/old_docs/API_docs_v44/types/User.md +++ b/old_docs/API_docs_v44/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$messages_foundGifs = '@username'; // Username +$User = '@username'; // Username -$messages_foundGifs = 44700; // bot API id (users) -$messages_foundGifs = -492772765; // bot API id (chats) -$messages_foundGifs = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$messages_foundGifs = 'user#44700'; // tg-cli style id (users) -$messages_foundGifs = 'chat#492772765'; // tg-cli style id (chats) -$messages_foundGifs = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v45/types/Chat.md b/old_docs/API_docs_v45/types/Chat.md index 6c290365..c213ab8a 100644 --- a/old_docs/API_docs_v45/types/Chat.md +++ b/old_docs/API_docs_v45/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$updateBotInlineSend = '@username'; // Username +$Chat = '@username'; // Username -$updateBotInlineSend = 44700; // bot API id (users) -$updateBotInlineSend = -492772765; // bot API id (chats) -$updateBotInlineSend = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$updateBotInlineSend = 'user#44700'; // tg-cli style id (users) -$updateBotInlineSend = 'chat#492772765'; // tg-cli style id (chats) -$updateBotInlineSend = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v45/types/InputChannel.md b/old_docs/API_docs_v45/types/InputChannel.md index b1ba813a..7c34525a 100644 --- a/old_docs/API_docs_v45/types/InputChannel.md +++ b/old_docs/API_docs_v45/types/InputChannel.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputChannel The following syntaxes can also be used: ``` -$updateBotInlineSend = '@username'; // Username +$InputChannel = '@username'; // Username -$updateBotInlineSend = 44700; // bot API id (users) -$updateBotInlineSend = -492772765; // bot API id (chats) -$updateBotInlineSend = -10038575794; // bot API id (channels) +$InputChannel = 44700; // bot API id (users) +$InputChannel = -492772765; // bot API id (chats) +$InputChannel = -10038575794; // bot API id (channels) -$updateBotInlineSend = 'user#44700'; // tg-cli style id (users) -$updateBotInlineSend = 'chat#492772765'; // tg-cli style id (chats) -$updateBotInlineSend = 'channel#38575794'; // tg-cli style id (channels) +$InputChannel = 'user#44700'; // tg-cli style id (users) +$InputChannel = 'chat#492772765'; // tg-cli style id (chats) +$InputChannel = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v45/types/InputPeer.md b/old_docs/API_docs_v45/types/InputPeer.md index 6093ac93..03e69596 100644 --- a/old_docs/API_docs_v45/types/InputPeer.md +++ b/old_docs/API_docs_v45/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$updateBotInlineSend = '@username'; // Username +$InputPeer = '@username'; // Username -$updateBotInlineSend = 44700; // bot API id (users) -$updateBotInlineSend = -492772765; // bot API id (chats) -$updateBotInlineSend = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$updateBotInlineSend = 'user#44700'; // tg-cli style id (users) -$updateBotInlineSend = 'chat#492772765'; // tg-cli style id (chats) -$updateBotInlineSend = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v45/types/InputUser.md b/old_docs/API_docs_v45/types/InputUser.md index 2ca519b1..d8830b5c 100644 --- a/old_docs/API_docs_v45/types/InputUser.md +++ b/old_docs/API_docs_v45/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$updateBotInlineSend = '@username'; // Username +$InputUser = '@username'; // Username -$updateBotInlineSend = 44700; // bot API id (users) -$updateBotInlineSend = -492772765; // bot API id (chats) -$updateBotInlineSend = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$updateBotInlineSend = 'user#44700'; // tg-cli style id (users) -$updateBotInlineSend = 'chat#492772765'; // tg-cli style id (chats) -$updateBotInlineSend = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v45/types/Peer.md b/old_docs/API_docs_v45/types/Peer.md index 81458426..f4ffb2b2 100644 --- a/old_docs/API_docs_v45/types/Peer.md +++ b/old_docs/API_docs_v45/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$updateBotInlineSend = '@username'; // Username +$Peer = '@username'; // Username -$updateBotInlineSend = 44700; // bot API id (users) -$updateBotInlineSend = -492772765; // bot API id (chats) -$updateBotInlineSend = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$updateBotInlineSend = 'user#44700'; // tg-cli style id (users) -$updateBotInlineSend = 'chat#492772765'; // tg-cli style id (chats) -$updateBotInlineSend = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v45/types/User.md b/old_docs/API_docs_v45/types/User.md index 62608c9e..86b2c27d 100644 --- a/old_docs/API_docs_v45/types/User.md +++ b/old_docs/API_docs_v45/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$updateBotInlineSend = '@username'; // Username +$User = '@username'; // Username -$updateBotInlineSend = 44700; // bot API id (users) -$updateBotInlineSend = -492772765; // bot API id (chats) -$updateBotInlineSend = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$updateBotInlineSend = 'user#44700'; // tg-cli style id (users) -$updateBotInlineSend = 'chat#492772765'; // tg-cli style id (chats) -$updateBotInlineSend = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v46/types/Chat.md b/old_docs/API_docs_v46/types/Chat.md index 91e98931..c213ab8a 100644 --- a/old_docs/API_docs_v46/types/Chat.md +++ b/old_docs/API_docs_v46/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$messages_botResults = '@username'; // Username +$Chat = '@username'; // Username -$messages_botResults = 44700; // bot API id (users) -$messages_botResults = -492772765; // bot API id (chats) -$messages_botResults = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$messages_botResults = 'user#44700'; // tg-cli style id (users) -$messages_botResults = 'chat#492772765'; // tg-cli style id (chats) -$messages_botResults = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v46/types/InputChannel.md b/old_docs/API_docs_v46/types/InputChannel.md index 08105ac0..7c34525a 100644 --- a/old_docs/API_docs_v46/types/InputChannel.md +++ b/old_docs/API_docs_v46/types/InputChannel.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputChannel The following syntaxes can also be used: ``` -$messages_botResults = '@username'; // Username +$InputChannel = '@username'; // Username -$messages_botResults = 44700; // bot API id (users) -$messages_botResults = -492772765; // bot API id (chats) -$messages_botResults = -10038575794; // bot API id (channels) +$InputChannel = 44700; // bot API id (users) +$InputChannel = -492772765; // bot API id (chats) +$InputChannel = -10038575794; // bot API id (channels) -$messages_botResults = 'user#44700'; // tg-cli style id (users) -$messages_botResults = 'chat#492772765'; // tg-cli style id (chats) -$messages_botResults = 'channel#38575794'; // tg-cli style id (channels) +$InputChannel = 'user#44700'; // tg-cli style id (users) +$InputChannel = 'chat#492772765'; // tg-cli style id (chats) +$InputChannel = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v46/types/InputPeer.md b/old_docs/API_docs_v46/types/InputPeer.md index ea4bcafc..03e69596 100644 --- a/old_docs/API_docs_v46/types/InputPeer.md +++ b/old_docs/API_docs_v46/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$messages_botResults = '@username'; // Username +$InputPeer = '@username'; // Username -$messages_botResults = 44700; // bot API id (users) -$messages_botResults = -492772765; // bot API id (chats) -$messages_botResults = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$messages_botResults = 'user#44700'; // tg-cli style id (users) -$messages_botResults = 'chat#492772765'; // tg-cli style id (chats) -$messages_botResults = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v46/types/InputUser.md b/old_docs/API_docs_v46/types/InputUser.md index 28c577f9..d8830b5c 100644 --- a/old_docs/API_docs_v46/types/InputUser.md +++ b/old_docs/API_docs_v46/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$messages_botResults = '@username'; // Username +$InputUser = '@username'; // Username -$messages_botResults = 44700; // bot API id (users) -$messages_botResults = -492772765; // bot API id (chats) -$messages_botResults = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$messages_botResults = 'user#44700'; // tg-cli style id (users) -$messages_botResults = 'chat#492772765'; // tg-cli style id (chats) -$messages_botResults = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v46/types/Peer.md b/old_docs/API_docs_v46/types/Peer.md index d7160bed..f4ffb2b2 100644 --- a/old_docs/API_docs_v46/types/Peer.md +++ b/old_docs/API_docs_v46/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$messages_botResults = '@username'; // Username +$Peer = '@username'; // Username -$messages_botResults = 44700; // bot API id (users) -$messages_botResults = -492772765; // bot API id (chats) -$messages_botResults = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$messages_botResults = 'user#44700'; // tg-cli style id (users) -$messages_botResults = 'chat#492772765'; // tg-cli style id (chats) -$messages_botResults = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v46/types/User.md b/old_docs/API_docs_v46/types/User.md index 94ae5aa4..f0723874 100644 --- a/old_docs/API_docs_v46/types/User.md +++ b/old_docs/API_docs_v46/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$messages_botResults = '@username'; // Username +$User = '@username'; // Username -$messages_botResults = 44700; // bot API id (users) -$messages_botResults = -492772765; // bot API id (chats) -$messages_botResults = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$messages_botResults = 'user#44700'; // tg-cli style id (users) -$messages_botResults = 'chat#492772765'; // tg-cli style id (chats) -$messages_botResults = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v51/types/Chat.md b/old_docs/API_docs_v51/types/Chat.md index ba07f1fa..c213ab8a 100644 --- a/old_docs/API_docs_v51/types/Chat.md +++ b/old_docs/API_docs_v51/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$inlineBotSwitchPM = '@username'; // Username +$Chat = '@username'; // Username -$inlineBotSwitchPM = 44700; // bot API id (users) -$inlineBotSwitchPM = -492772765; // bot API id (chats) -$inlineBotSwitchPM = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$inlineBotSwitchPM = 'user#44700'; // tg-cli style id (users) -$inlineBotSwitchPM = 'chat#492772765'; // tg-cli style id (chats) -$inlineBotSwitchPM = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v51/types/InputChannel.md b/old_docs/API_docs_v51/types/InputChannel.md index 69d5fb50..7c34525a 100644 --- a/old_docs/API_docs_v51/types/InputChannel.md +++ b/old_docs/API_docs_v51/types/InputChannel.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputChannel The following syntaxes can also be used: ``` -$inlineBotSwitchPM = '@username'; // Username +$InputChannel = '@username'; // Username -$inlineBotSwitchPM = 44700; // bot API id (users) -$inlineBotSwitchPM = -492772765; // bot API id (chats) -$inlineBotSwitchPM = -10038575794; // bot API id (channels) +$InputChannel = 44700; // bot API id (users) +$InputChannel = -492772765; // bot API id (chats) +$InputChannel = -10038575794; // bot API id (channels) -$inlineBotSwitchPM = 'user#44700'; // tg-cli style id (users) -$inlineBotSwitchPM = 'chat#492772765'; // tg-cli style id (chats) -$inlineBotSwitchPM = 'channel#38575794'; // tg-cli style id (channels) +$InputChannel = 'user#44700'; // tg-cli style id (users) +$InputChannel = 'chat#492772765'; // tg-cli style id (chats) +$InputChannel = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v51/types/InputPeer.md b/old_docs/API_docs_v51/types/InputPeer.md index 90b38054..03e69596 100644 --- a/old_docs/API_docs_v51/types/InputPeer.md +++ b/old_docs/API_docs_v51/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$inlineBotSwitchPM = '@username'; // Username +$InputPeer = '@username'; // Username -$inlineBotSwitchPM = 44700; // bot API id (users) -$inlineBotSwitchPM = -492772765; // bot API id (chats) -$inlineBotSwitchPM = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$inlineBotSwitchPM = 'user#44700'; // tg-cli style id (users) -$inlineBotSwitchPM = 'chat#492772765'; // tg-cli style id (chats) -$inlineBotSwitchPM = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v51/types/InputUser.md b/old_docs/API_docs_v51/types/InputUser.md index c3ed30d0..d8830b5c 100644 --- a/old_docs/API_docs_v51/types/InputUser.md +++ b/old_docs/API_docs_v51/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$inlineBotSwitchPM = '@username'; // Username +$InputUser = '@username'; // Username -$inlineBotSwitchPM = 44700; // bot API id (users) -$inlineBotSwitchPM = -492772765; // bot API id (chats) -$inlineBotSwitchPM = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$inlineBotSwitchPM = 'user#44700'; // tg-cli style id (users) -$inlineBotSwitchPM = 'chat#492772765'; // tg-cli style id (chats) -$inlineBotSwitchPM = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v51/types/Peer.md b/old_docs/API_docs_v51/types/Peer.md index 0142a6b1..f4ffb2b2 100644 --- a/old_docs/API_docs_v51/types/Peer.md +++ b/old_docs/API_docs_v51/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$inlineBotSwitchPM = '@username'; // Username +$Peer = '@username'; // Username -$inlineBotSwitchPM = 44700; // bot API id (users) -$inlineBotSwitchPM = -492772765; // bot API id (chats) -$inlineBotSwitchPM = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$inlineBotSwitchPM = 'user#44700'; // tg-cli style id (users) -$inlineBotSwitchPM = 'chat#492772765'; // tg-cli style id (chats) -$inlineBotSwitchPM = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v51/types/User.md b/old_docs/API_docs_v51/types/User.md index f156bf56..86b2c27d 100644 --- a/old_docs/API_docs_v51/types/User.md +++ b/old_docs/API_docs_v51/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$inlineBotSwitchPM = '@username'; // Username +$User = '@username'; // Username -$inlineBotSwitchPM = 44700; // bot API id (users) -$inlineBotSwitchPM = -492772765; // bot API id (chats) -$inlineBotSwitchPM = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$inlineBotSwitchPM = 'user#44700'; // tg-cli style id (users) -$inlineBotSwitchPM = 'chat#492772765'; // tg-cli style id (chats) -$inlineBotSwitchPM = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v53/types/Chat.md b/old_docs/API_docs_v53/types/Chat.md index 6f73b883..c213ab8a 100644 --- a/old_docs/API_docs_v53/types/Chat.md +++ b/old_docs/API_docs_v53/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$messageActionHistoryClear = '@username'; // Username +$Chat = '@username'; // Username -$messageActionHistoryClear = 44700; // bot API id (users) -$messageActionHistoryClear = -492772765; // bot API id (chats) -$messageActionHistoryClear = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$messageActionHistoryClear = 'user#44700'; // tg-cli style id (users) -$messageActionHistoryClear = 'chat#492772765'; // tg-cli style id (chats) -$messageActionHistoryClear = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v53/types/InputChannel.md b/old_docs/API_docs_v53/types/InputChannel.md index b83a4557..7c34525a 100644 --- a/old_docs/API_docs_v53/types/InputChannel.md +++ b/old_docs/API_docs_v53/types/InputChannel.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputChannel The following syntaxes can also be used: ``` -$messageActionHistoryClear = '@username'; // Username +$InputChannel = '@username'; // Username -$messageActionHistoryClear = 44700; // bot API id (users) -$messageActionHistoryClear = -492772765; // bot API id (chats) -$messageActionHistoryClear = -10038575794; // bot API id (channels) +$InputChannel = 44700; // bot API id (users) +$InputChannel = -492772765; // bot API id (chats) +$InputChannel = -10038575794; // bot API id (channels) -$messageActionHistoryClear = 'user#44700'; // tg-cli style id (users) -$messageActionHistoryClear = 'chat#492772765'; // tg-cli style id (chats) -$messageActionHistoryClear = 'channel#38575794'; // tg-cli style id (channels) +$InputChannel = 'user#44700'; // tg-cli style id (users) +$InputChannel = 'chat#492772765'; // tg-cli style id (chats) +$InputChannel = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v53/types/InputPeer.md b/old_docs/API_docs_v53/types/InputPeer.md index 3a1d1776..03e69596 100644 --- a/old_docs/API_docs_v53/types/InputPeer.md +++ b/old_docs/API_docs_v53/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$messageActionHistoryClear = '@username'; // Username +$InputPeer = '@username'; // Username -$messageActionHistoryClear = 44700; // bot API id (users) -$messageActionHistoryClear = -492772765; // bot API id (chats) -$messageActionHistoryClear = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$messageActionHistoryClear = 'user#44700'; // tg-cli style id (users) -$messageActionHistoryClear = 'chat#492772765'; // tg-cli style id (chats) -$messageActionHistoryClear = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v53/types/InputUser.md b/old_docs/API_docs_v53/types/InputUser.md index faa0abb6..d8830b5c 100644 --- a/old_docs/API_docs_v53/types/InputUser.md +++ b/old_docs/API_docs_v53/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$messageActionHistoryClear = '@username'; // Username +$InputUser = '@username'; // Username -$messageActionHistoryClear = 44700; // bot API id (users) -$messageActionHistoryClear = -492772765; // bot API id (chats) -$messageActionHistoryClear = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$messageActionHistoryClear = 'user#44700'; // tg-cli style id (users) -$messageActionHistoryClear = 'chat#492772765'; // tg-cli style id (chats) -$messageActionHistoryClear = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v53/types/Peer.md b/old_docs/API_docs_v53/types/Peer.md index 3f23bc62..f4ffb2b2 100644 --- a/old_docs/API_docs_v53/types/Peer.md +++ b/old_docs/API_docs_v53/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$messageActionHistoryClear = '@username'; // Username +$Peer = '@username'; // Username -$messageActionHistoryClear = 44700; // bot API id (users) -$messageActionHistoryClear = -492772765; // bot API id (chats) -$messageActionHistoryClear = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$messageActionHistoryClear = 'user#44700'; // tg-cli style id (users) -$messageActionHistoryClear = 'chat#492772765'; // tg-cli style id (chats) -$messageActionHistoryClear = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v53/types/User.md b/old_docs/API_docs_v53/types/User.md index a61a820d..86b2c27d 100644 --- a/old_docs/API_docs_v53/types/User.md +++ b/old_docs/API_docs_v53/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$messageActionHistoryClear = '@username'; // Username +$User = '@username'; // Username -$messageActionHistoryClear = 44700; // bot API id (users) -$messageActionHistoryClear = -492772765; // bot API id (chats) -$messageActionHistoryClear = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$messageActionHistoryClear = 'user#44700'; // tg-cli style id (users) -$messageActionHistoryClear = 'chat#492772765'; // tg-cli style id (chats) -$messageActionHistoryClear = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v55/types/Chat.md b/old_docs/API_docs_v55/types/Chat.md index 0fb2bf5e..c213ab8a 100644 --- a/old_docs/API_docs_v55/types/Chat.md +++ b/old_docs/API_docs_v55/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$stickerSetCovered = '@username'; // Username +$Chat = '@username'; // Username -$stickerSetCovered = 44700; // bot API id (users) -$stickerSetCovered = -492772765; // bot API id (chats) -$stickerSetCovered = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$stickerSetCovered = 'user#44700'; // tg-cli style id (users) -$stickerSetCovered = 'chat#492772765'; // tg-cli style id (chats) -$stickerSetCovered = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v55/types/InputChannel.md b/old_docs/API_docs_v55/types/InputChannel.md index d77668f6..7c34525a 100644 --- a/old_docs/API_docs_v55/types/InputChannel.md +++ b/old_docs/API_docs_v55/types/InputChannel.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputChannel The following syntaxes can also be used: ``` -$stickerSetCovered = '@username'; // Username +$InputChannel = '@username'; // Username -$stickerSetCovered = 44700; // bot API id (users) -$stickerSetCovered = -492772765; // bot API id (chats) -$stickerSetCovered = -10038575794; // bot API id (channels) +$InputChannel = 44700; // bot API id (users) +$InputChannel = -492772765; // bot API id (chats) +$InputChannel = -10038575794; // bot API id (channels) -$stickerSetCovered = 'user#44700'; // tg-cli style id (users) -$stickerSetCovered = 'chat#492772765'; // tg-cli style id (chats) -$stickerSetCovered = 'channel#38575794'; // tg-cli style id (channels) +$InputChannel = 'user#44700'; // tg-cli style id (users) +$InputChannel = 'chat#492772765'; // tg-cli style id (chats) +$InputChannel = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v55/types/InputPeer.md b/old_docs/API_docs_v55/types/InputPeer.md index 549bf43c..03e69596 100644 --- a/old_docs/API_docs_v55/types/InputPeer.md +++ b/old_docs/API_docs_v55/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$stickerSetCovered = '@username'; // Username +$InputPeer = '@username'; // Username -$stickerSetCovered = 44700; // bot API id (users) -$stickerSetCovered = -492772765; // bot API id (chats) -$stickerSetCovered = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$stickerSetCovered = 'user#44700'; // tg-cli style id (users) -$stickerSetCovered = 'chat#492772765'; // tg-cli style id (chats) -$stickerSetCovered = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v55/types/InputUser.md b/old_docs/API_docs_v55/types/InputUser.md index e4c2e4e6..d8830b5c 100644 --- a/old_docs/API_docs_v55/types/InputUser.md +++ b/old_docs/API_docs_v55/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$stickerSetCovered = '@username'; // Username +$InputUser = '@username'; // Username -$stickerSetCovered = 44700; // bot API id (users) -$stickerSetCovered = -492772765; // bot API id (chats) -$stickerSetCovered = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$stickerSetCovered = 'user#44700'; // tg-cli style id (users) -$stickerSetCovered = 'chat#492772765'; // tg-cli style id (chats) -$stickerSetCovered = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v55/types/Peer.md b/old_docs/API_docs_v55/types/Peer.md index 5d2196aa..f4ffb2b2 100644 --- a/old_docs/API_docs_v55/types/Peer.md +++ b/old_docs/API_docs_v55/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$stickerSetCovered = '@username'; // Username +$Peer = '@username'; // Username -$stickerSetCovered = 44700; // bot API id (users) -$stickerSetCovered = -492772765; // bot API id (chats) -$stickerSetCovered = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$stickerSetCovered = 'user#44700'; // tg-cli style id (users) -$stickerSetCovered = 'chat#492772765'; // tg-cli style id (chats) -$stickerSetCovered = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v55/types/User.md b/old_docs/API_docs_v55/types/User.md index 25b8df28..86b2c27d 100644 --- a/old_docs/API_docs_v55/types/User.md +++ b/old_docs/API_docs_v55/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$stickerSetCovered = '@username'; // Username +$User = '@username'; // Username -$stickerSetCovered = 44700; // bot API id (users) -$stickerSetCovered = -492772765; // bot API id (chats) -$stickerSetCovered = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$stickerSetCovered = 'user#44700'; // tg-cli style id (users) -$stickerSetCovered = 'chat#492772765'; // tg-cli style id (chats) -$stickerSetCovered = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v57/types/Chat.md b/old_docs/API_docs_v57/types/Chat.md index 2fed9ab1..c213ab8a 100644 --- a/old_docs/API_docs_v57/types/Chat.md +++ b/old_docs/API_docs_v57/types/Chat.md @@ -10,15 +10,15 @@ description: constructors and methods of type Chat The following syntaxes can also be used: ``` -$messages_highScores = '@username'; // Username +$Chat = '@username'; // Username -$messages_highScores = 44700; // bot API id (users) -$messages_highScores = -492772765; // bot API id (chats) -$messages_highScores = -10038575794; // bot API id (channels) +$Chat = 44700; // bot API id (users) +$Chat = -492772765; // bot API id (chats) +$Chat = -10038575794; // bot API id (channels) -$messages_highScores = 'user#44700'; // tg-cli style id (users) -$messages_highScores = 'chat#492772765'; // tg-cli style id (chats) -$messages_highScores = 'channel#38575794'; // tg-cli style id (channels) +$Chat = 'user#44700'; // tg-cli style id (users) +$Chat = 'chat#492772765'; // tg-cli style id (chats) +$Chat = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v57/types/InputChannel.md b/old_docs/API_docs_v57/types/InputChannel.md index 0c32ee8d..7c34525a 100644 --- a/old_docs/API_docs_v57/types/InputChannel.md +++ b/old_docs/API_docs_v57/types/InputChannel.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputChannel The following syntaxes can also be used: ``` -$messages_highScores = '@username'; // Username +$InputChannel = '@username'; // Username -$messages_highScores = 44700; // bot API id (users) -$messages_highScores = -492772765; // bot API id (chats) -$messages_highScores = -10038575794; // bot API id (channels) +$InputChannel = 44700; // bot API id (users) +$InputChannel = -492772765; // bot API id (chats) +$InputChannel = -10038575794; // bot API id (channels) -$messages_highScores = 'user#44700'; // tg-cli style id (users) -$messages_highScores = 'chat#492772765'; // tg-cli style id (chats) -$messages_highScores = 'channel#38575794'; // tg-cli style id (channels) +$InputChannel = 'user#44700'; // tg-cli style id (users) +$InputChannel = 'chat#492772765'; // tg-cli style id (chats) +$InputChannel = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v57/types/InputPeer.md b/old_docs/API_docs_v57/types/InputPeer.md index 7375329c..03e69596 100644 --- a/old_docs/API_docs_v57/types/InputPeer.md +++ b/old_docs/API_docs_v57/types/InputPeer.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputPeer The following syntaxes can also be used: ``` -$messages_highScores = '@username'; // Username +$InputPeer = '@username'; // Username -$messages_highScores = 44700; // bot API id (users) -$messages_highScores = -492772765; // bot API id (chats) -$messages_highScores = -10038575794; // bot API id (channels) +$InputPeer = 44700; // bot API id (users) +$InputPeer = -492772765; // bot API id (chats) +$InputPeer = -10038575794; // bot API id (channels) -$messages_highScores = 'user#44700'; // tg-cli style id (users) -$messages_highScores = 'chat#492772765'; // tg-cli style id (chats) -$messages_highScores = 'channel#38575794'; // tg-cli style id (channels) +$InputPeer = 'user#44700'; // tg-cli style id (users) +$InputPeer = 'chat#492772765'; // tg-cli style id (chats) +$InputPeer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v57/types/InputUser.md b/old_docs/API_docs_v57/types/InputUser.md index 3e29f5a9..d8830b5c 100644 --- a/old_docs/API_docs_v57/types/InputUser.md +++ b/old_docs/API_docs_v57/types/InputUser.md @@ -10,15 +10,15 @@ description: constructors and methods of type InputUser The following syntaxes can also be used: ``` -$messages_highScores = '@username'; // Username +$InputUser = '@username'; // Username -$messages_highScores = 44700; // bot API id (users) -$messages_highScores = -492772765; // bot API id (chats) -$messages_highScores = -10038575794; // bot API id (channels) +$InputUser = 44700; // bot API id (users) +$InputUser = -492772765; // bot API id (chats) +$InputUser = -10038575794; // bot API id (channels) -$messages_highScores = 'user#44700'; // tg-cli style id (users) -$messages_highScores = 'chat#492772765'; // tg-cli style id (chats) -$messages_highScores = 'channel#38575794'; // tg-cli style id (channels) +$InputUser = 'user#44700'; // tg-cli style id (users) +$InputUser = 'chat#492772765'; // tg-cli style id (chats) +$InputUser = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v57/types/Peer.md b/old_docs/API_docs_v57/types/Peer.md index a19ae941..f4ffb2b2 100644 --- a/old_docs/API_docs_v57/types/Peer.md +++ b/old_docs/API_docs_v57/types/Peer.md @@ -10,15 +10,15 @@ description: constructors and methods of type Peer The following syntaxes can also be used: ``` -$messages_highScores = '@username'; // Username +$Peer = '@username'; // Username -$messages_highScores = 44700; // bot API id (users) -$messages_highScores = -492772765; // bot API id (chats) -$messages_highScores = -10038575794; // bot API id (channels) +$Peer = 44700; // bot API id (users) +$Peer = -492772765; // bot API id (chats) +$Peer = -10038575794; // bot API id (channels) -$messages_highScores = 'user#44700'; // tg-cli style id (users) -$messages_highScores = 'chat#492772765'; // tg-cli style id (chats) -$messages_highScores = 'channel#38575794'; // tg-cli style id (channels) +$Peer = 'user#44700'; // tg-cli style id (users) +$Peer = 'chat#492772765'; // tg-cli style id (chats) +$Peer = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/old_docs/API_docs_v57/types/User.md b/old_docs/API_docs_v57/types/User.md index 98a18b6c..86b2c27d 100644 --- a/old_docs/API_docs_v57/types/User.md +++ b/old_docs/API_docs_v57/types/User.md @@ -10,15 +10,15 @@ description: constructors and methods of type User The following syntaxes can also be used: ``` -$messages_highScores = '@username'; // Username +$User = '@username'; // Username -$messages_highScores = 44700; // bot API id (users) -$messages_highScores = -492772765; // bot API id (chats) -$messages_highScores = -10038575794; // bot API id (channels) +$User = 44700; // bot API id (users) +$User = -492772765; // bot API id (chats) +$User = -10038575794; // bot API id (channels) -$messages_highScores = 'user#44700'; // tg-cli style id (users) -$messages_highScores = 'chat#492772765'; // tg-cli style id (chats) -$messages_highScores = 'channel#38575794'; // tg-cli style id (channels) +$User = 'user#44700'; // tg-cli style id (users) +$User = 'chat#492772765'; // tg-cli style id (chats) +$User = 'channel#38575794'; // tg-cli style id (channels) ``` diff --git a/src/danog/MadelineProto/DocsBuilder.php b/src/danog/MadelineProto/DocsBuilder.php index bc18d660..bdb8e473 100755 --- a/src/danog/MadelineProto/DocsBuilder.php +++ b/src/danog/MadelineProto/DocsBuilder.php @@ -398,15 +398,15 @@ description: constructors and methods of type '.$type.' $header .= 'The following syntaxes can also be used: ``` -$'.$constructor." = '@username'; // Username +$'.$type." = '@username'; // Username -$".$constructor.' = 44700; // bot API id (users) -$'.$constructor.' = -492772765; // bot API id (chats) -$'.$constructor.' = -10038575794; // bot API id (channels) +$".$type.' = 44700; // bot API id (users) +$'.$type.' = -492772765; // bot API id (chats) +$'.$type.' = -10038575794; // bot API id (channels) -$'.$constructor." = 'user#44700'; // tg-cli style id (users) -$".$constructor." = 'chat#492772765'; // tg-cli style id (chats) -$".$constructor." = 'channel#38575794'; // tg-cli style id (channels) +$'.$type." = 'user#44700'; // tg-cli style id (users) +$".$type." = 'chat#492772765'; // tg-cli style id (chats) +$".$type." = 'channel#38575794'; // tg-cli style id (channels) ```