Minor correction

This commit is contained in:
Zi Xing 2021-12-25 19:13:01 -05:00
parent 4380bb68ea
commit 75c56f4865
1 changed files with 2 additions and 1 deletions

View File

@ -121,6 +121,7 @@
* A smart function to get the chat member cache
*
* @param Chat $chat
* @param bool $force_update
* @return ChatMemberCache
* @throws CannotUpdateChatMembersCacheException
* @throws DatabaseException
@ -156,7 +157,7 @@
if($returnResults == null)
$returnResults = new ChatMemberCache();
$chatMembersResponse = $Results->getRawData()["result"];
$chatMembersResponse = $Results->getResult();
/** @var ChatMemberOwner $chatMemberOwner */
foreach($chatMembersResponse as $chatMemberOwner)