mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
VKAPI: Add photo_* fields to groups.getById
This commit is contained in:
parent
a52809fbb8
commit
e55c75b902
1 changed files with 15 additions and 0 deletions
|
@ -161,6 +161,21 @@ final class Groups extends VKAPIRequestHandler
|
|||
case "photo_max":
|
||||
$response[$i]->photo_max = $clb->getAvatarURL();
|
||||
break;
|
||||
case "photo_50":
|
||||
$response[$i]->photo_50 = $clb->getAvatarURL();
|
||||
break;
|
||||
case "photo_100":
|
||||
$response[$i]->photo_100 = $clb->getAvatarURL("tiny");
|
||||
break;
|
||||
case "photo_200":
|
||||
$response[$i]->photo_200 = $clb->getAvatarURL("normal");
|
||||
break;
|
||||
case "photo_200_orig":
|
||||
$response[$i]->photo_200_orig = $clb->getAvatarURL("normal");
|
||||
break;
|
||||
case "photo_400_orig":
|
||||
$response[$i]->photo_400_orig = $clb->getAvatarURL("normal");
|
||||
break;
|
||||
case "members_count":
|
||||
$response[$i]->members_count = $clb->getFollowersCount();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue