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](#getFullInfo-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))
|
||||
```php
|
||||
@ -48,14 +48,14 @@ You can also use `getInfo` to get chat info, see [here for the parameters and th
|
||||
* Speed: very fast
|
||||
* 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
|
||||
$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
|
||||
* Caching: full
|
||||
|
||||
<a href="https://docs.madelineproto.xyz/docs/DIALOGS.html">Next section</a>
|
||||
<a href="https://docs.madelineproto.xyz/docs/DIALOGS.html">Next section</a>
|
||||
|
@ -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](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)
|
||||
* [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)
|
||||
* [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)
|
||||
|
Loading…
Reference in New Issue
Block a user