diff --git a/docs/docs/CHAT_INFO.md b/docs/docs/CHAT_INFO.md index d0ef5e21c7..f0838b86c9 100644 --- a/docs/docs/CHAT_INFO.md +++ b/docs/docs/CHAT_INFO.md @@ -1,12 +1,12 @@ --- title: "Getting info about chats" -description: "There are various methods that can be used to fetch info about chats, based on bot API id, tg-cli ID, Peer, User, Chat objects." +description: "There are various methods that can be used to fetch info about chats, based on bot API id, Peer, User, Chat objects." nav_order: 22 image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Getting info about chats -There are various methods that can be used to fetch info about chats, based on bot API id, tg-cli ID, Peer, User, Chat objects. +There are various methods that can be used to fetch info about chats, based on bot API id, Peer, User, Chat objects. * [Full chat info with full list of participants](#getPwrChat) * [Full chat info](#getFullInfo) diff --git a/docs/getFullInfo.md b/docs/getFullInfo.md index a1c4cd326a..5a1eca8133 100644 --- a/docs/getFullInfo.md +++ b/docs/getFullInfo.md @@ -12,7 +12,7 @@ parent: "Methods" | Name | Type | |----------|---------------| -|id| A username, a bot API chat id, a tg-cli chat id, a [Chat](API_docs/types/Chat.html), a [User](API_docs/types/User.html), an [InputPeer](API_docs/types/InputPeer.html), an [InputUser](API_docs/types/InputUser.html), an [InputChannel](API_docs/types/InputChannel.html), a [Peer](API_docs/types/Peer.html), or a [Chat](API_docs/types/Chat.html) object| +|id| A username, a bot API chat id, a [Chat](API_docs/types/Chat.html), a [User](API_docs/types/User.html), an [InputPeer](API_docs/types/InputPeer.html), an [InputUser](API_docs/types/InputUser.html), an [InputChannel](API_docs/types/InputChannel.html), a [Peer](API_docs/types/Peer.html), or a [Chat](API_docs/types/Chat.html) object| ### Return type: [FullInfo](FullInfo.html) diff --git a/docs/getId.md b/docs/getId.md index 4aeb568694..571990abeb 100644 --- a/docs/getId.md +++ b/docs/getId.md @@ -12,7 +12,7 @@ Gets a bot API ID from a username, update, message, or other related constructor | Name | Type | |----------|---------------| -|id| A username, a bot API chat id, a tg-cli chat id, a [Chat](API_docs/types/Chat.html), a [User](API_docs/types/User.html), an [InputPeer](API_docs/types/InputPeer.html), an [InputUser](API_docs/types/InputUser.html), an [InputChannel](API_docs/types/InputChannel.html), a [Peer](API_docs/types/Peer.html), or a [Chat](API_docs/types/Chat.html) object| +|id| A username, a bot API chat id, a [Chat](API_docs/types/Chat.html), a [User](API_docs/types/User.html), an [InputPeer](API_docs/types/InputPeer.html), an [InputUser](API_docs/types/InputUser.html), an [InputChannel](API_docs/types/InputChannel.html), a [Peer](API_docs/types/Peer.html), or a [Chat](API_docs/types/Chat.html) object| ### Return type: integer diff --git a/docs/getInfo.md b/docs/getInfo.md index 6c2903feab..c4108a1dfe 100644 --- a/docs/getInfo.md +++ b/docs/getInfo.md @@ -12,7 +12,7 @@ parent: "Methods" | Name | Type | |----------|---------------| -|id| A username, a bot API chat id, a tg-cli chat id, a [Chat](API_docs/types/Chat.html), a [User](API_docs/types/User.html), an [InputPeer](API_docs/types/InputPeer.html), an [InputUser](API_docs/types/InputUser.html), an [InputChannel](API_docs/types/InputChannel.html), a [Peer](API_docs/types/Peer.html), or a [Chat](API_docs/types/Chat.html) object| +|id| A username, a bot API chat id, a [Chat](API_docs/types/Chat.html), a [User](API_docs/types/User.html), an [InputPeer](API_docs/types/InputPeer.html), an [InputUser](API_docs/types/InputUser.html), an [InputChannel](API_docs/types/InputChannel.html), a [Peer](API_docs/types/Peer.html), or a [Chat](API_docs/types/Chat.html) object| ### Return type: [Info](Info.html) diff --git a/docs/getPwrChat.md b/docs/getPwrChat.md index 6ca993efca..401875643d 100644 --- a/docs/getPwrChat.md +++ b/docs/getPwrChat.md @@ -12,7 +12,7 @@ parent: "Methods" | Name | Type | |----------|---------------| -|id| A username, a bot API chat id, a tg-cli chat id, a [Chat](API_docs/types/Chat.html), a [User](API_docs/types/User.html), an [InputPeer](API_docs/types/InputPeer.html), an [InputUser](API_docs/types/InputUser.html), an [InputChannel](API_docs/types/InputChannel.html), a [Peer](API_docs/types/Peer.html), or a [Chat](API_docs/types/Chat.html) object| +|id| A username, a bot API chat id, a [Chat](API_docs/types/Chat.html), a [User](API_docs/types/User.html), an [InputPeer](API_docs/types/InputPeer.html), an [InputUser](API_docs/types/InputUser.html), an [InputChannel](API_docs/types/InputChannel.html), a [Peer](API_docs/types/Peer.html), or a [Chat](API_docs/types/Chat.html) object| |fullfetch| Optional, a boolean that if set to true (the default) fetches full info (chat photo, invite link, bot info, common_chats_count, phone_calls_available, phone_calls_private, can_set_username, can_view_participants, participants)| ### Return type: [PWRTelegram Chat](Chat.html) diff --git a/docs/index.md b/docs/index.md index 2e5f3f411a..35943505d6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,6 @@ --- title: MadelineProto -description: PHP client/server for the telegram MTProto protocol (a better tg-cli) +description: Async PHP client API for the telegram MTProto protocol nav_order: 1 image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- @@ -237,7 +237,7 @@ Some of MadelineProto's core components are also available as separate, standalo * [Download to http-server](https://docs.madelineproto.xyz/docs/FILES.html#download-to-http-server) * [Download to browser](https://docs.madelineproto.xyz/docs/FILES.html#download-to-browser) * [Getting progress](https://docs.madelineproto.xyz/docs/FILES.html#getting-progress) -* [Getting info about chats](https://docs.madelineproto.xyz/docs/CHAT_INFO.html) - There are various methods that can be used to fetch info about chats, based on bot API id, tg-cli ID, Peer, User, Chat objects. +* [Getting info about chats](https://docs.madelineproto.xyz/docs/CHAT_INFO.html) - There are various methods that can be used to fetch info about chats, based on bot API id, Peer, User, Chat objects. * [Full chat info with full list of participants](https://docs.madelineproto.xyz/docs/CHAT_INFO.html#getPwrChat) * [Full chat info](https://docs.madelineproto.xyz/docs/CHAT_INFO.html#getFullInfo) * [Reduced chat info (very fast)](https://docs.madelineproto.xyz/docs/CHAT_INFO.html#getInfo) diff --git a/docs/requestSecretChat.md b/docs/requestSecretChat.md index 28c8d61abc..31f33aaffe 100644 --- a/docs/requestSecretChat.md +++ b/docs/requestSecretChat.md @@ -12,7 +12,7 @@ parent: "Methods" | Name | Type | |----------|---------------| -|id| A username, a bot API chat id, a tg-cli chat id, a [User](API_docs/types/User.html), an [InputPeer](API_docs/types/InputPeer.html), an [InputUser](API_docs/types/InputUser.html), a [Peer](API_docs/types/Peer.html)| +|id| A username, a bot API chat id, a [User](API_docs/types/User.html), an [InputPeer](API_docs/types/InputPeer.html), an [InputUser](API_docs/types/InputUser.html), a [Peer](API_docs/types/Peer.html)| ### Return type: Number