Update
This commit is contained in:
parent
957d790ed3
commit
d119b3d80d
@ -10,7 +10,7 @@ There are various methods that can be used to fetch info about chats, based on b
|
|||||||
* [Full chat info with full list of participants](#getPwrChat-now-fully-async)
|
* [Full chat info with full list of participants](#getPwrChat-now-fully-async)
|
||||||
* [Full chat info](#getFullInfo-now-fully-async)
|
* [Full chat info](#getFullInfo-now-fully-async)
|
||||||
* [Reduced chat info (very fast)](#getInfo-now-fully-async)
|
* [Reduced chat info (very fast)](#getInfo-now-fully-async)
|
||||||
* [Just the chat ID (extremely fast)](#get_id-now-fully-async)
|
* [Just the chat ID (extremely fast)](#getId-now-fully-async)
|
||||||
|
|
||||||
## getPwrChat ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html))
|
## getPwrChat ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html))
|
||||||
```php
|
```php
|
||||||
@ -48,12 +48,12 @@ You can also use `getInfo` to get chat info, see [here for the parameters and th
|
|||||||
* Speed: very fast
|
* Speed: very fast
|
||||||
* Caching: full
|
* Caching: full
|
||||||
|
|
||||||
## get_id ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html))
|
## getId ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html))
|
||||||
```php
|
```php
|
||||||
$id = yield $MadelineProto->getID($update);
|
$id = yield $MadelineProto->getID($update);
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also use `get_id` to get chat ID from updates, messages and other objects.
|
You can also use `getId` to get chat ID from updates, messages and other objects.
|
||||||
|
|
||||||
* Speed: very fast
|
* Speed: very fast
|
||||||
* Caching: full
|
* Caching: full
|
||||||
|
@ -138,7 +138,7 @@ You can find examples for nearly every MadelineProto function in
|
|||||||
* [Full chat info with full list of participants](https://docs.madelineproto.xyz/docs/CHAT_INFO.html#getPwrChat-now-fully-async)
|
* [Full chat info with full list of participants](https://docs.madelineproto.xyz/docs/CHAT_INFO.html#getPwrChat-now-fully-async)
|
||||||
* [Full chat info](https://docs.madelineproto.xyz/docs/CHAT_INFO.html#getFullInfo-now-fully-async)
|
* [Full chat info](https://docs.madelineproto.xyz/docs/CHAT_INFO.html#getFullInfo-now-fully-async)
|
||||||
* [Reduced chat info (very fast)](https://docs.madelineproto.xyz/docs/CHAT_INFO.html#getInfo-now-fully-async)
|
* [Reduced chat info (very fast)](https://docs.madelineproto.xyz/docs/CHAT_INFO.html#getInfo-now-fully-async)
|
||||||
* [Just the chat ID (extremely fast)](https://docs.madelineproto.xyz/docs/CHAT_INFO.html#get_id-now-fully-async)
|
* [Just the chat ID (extremely fast)](https://docs.madelineproto.xyz/docs/CHAT_INFO.html#getId-now-fully-async)
|
||||||
* [Getting all chats (dialogs)](https://docs.madelineproto.xyz/docs/DIALOGS.html)
|
* [Getting all chats (dialogs)](https://docs.madelineproto.xyz/docs/DIALOGS.html)
|
||||||
* [Dialog list](https://docs.madelineproto.xyz/docs/DIALOGS.html#getDialogs-now-fully-async)
|
* [Dialog list](https://docs.madelineproto.xyz/docs/DIALOGS.html#getDialogs-now-fully-async)
|
||||||
* [Full dialog info](https://docs.madelineproto.xyz/docs/DIALOGS.html#getFullDialogs-now-fully-async)
|
* [Full dialog info](https://docs.madelineproto.xyz/docs/DIALOGS.html#getFullDialogs-now-fully-async)
|
||||||
|
Loading…
Reference in New Issue
Block a user