diff --git a/docs/docs/CHAT_INFO.md b/docs/docs/CHAT_INFO.md index f6e25609..70943cd8 100644 --- a/docs/docs/CHAT_INFO.md +++ b/docs/docs/CHAT_INFO.md @@ -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 -Next section \ No newline at end of file +Next section diff --git a/docs/index.md b/docs/index.md index 5be4cf9c..4718acc0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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)