mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-11-30 04:39:42 +01:00
Bump
This commit is contained in:
parent
f4194b5037
commit
5878cbb470
@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
title: "Getting info about chats"
|
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
|
nav_order: 22
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Getting info about chats
|
# 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 with full list of participants](#getPwrChat)
|
||||||
* [Full chat info](#getFullInfo)
|
* [Full chat info](#getFullInfo)
|
||||||
|
@ -12,7 +12,7 @@ parent: "Methods"
|
|||||||
|
|
||||||
| Name | Type |
|
| 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)
|
### Return type: [FullInfo](FullInfo.html)
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ Gets a bot API ID from a username, update, message, or other related constructor
|
|||||||
|
|
||||||
| Name | Type |
|
| 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
|
### Return type: integer
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ parent: "Methods"
|
|||||||
|
|
||||||
| Name | Type |
|
| 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)
|
### Return type: [Info](Info.html)
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ parent: "Methods"
|
|||||||
|
|
||||||
| Name | Type |
|
| 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)|
|
|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)
|
### Return type: [PWRTelegram Chat](Chat.html)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: MadelineProto
|
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
|
nav_order: 1
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
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 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)
|
* [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 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 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)
|
* [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)
|
* [Reduced chat info (very fast)](https://docs.madelineproto.xyz/docs/CHAT_INFO.html#getInfo)
|
||||||
|
@ -12,7 +12,7 @@ parent: "Methods"
|
|||||||
|
|
||||||
| Name | Type |
|
| 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
|
### Return type: Number
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user