mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
feat(api): add ability to know what user is listening (#1048)
This commit is contained in:
parent
41e4383d3b
commit
04eb724cd5
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ final class Account extends VKAPIRequestHandler
|
|||
"last_name" => $this->getUser()->getLastName(),
|
||||
"home_town" => $this->getUser()->getHometown(),
|
||||
"status" => $this->getUser()->getStatus(),
|
||||
"audio_status" => is_null($this->getUser()->getCurrentAudioStatus()) ? NULL : $this->getUser()->getCurrentAudioStatus()->toVkApiStruct($this->getUser()),
|
||||
"bdate" => is_null($this->getUser()->getBirthday()) ? '01.01.1970' : $this->getUser()->getBirthday()->format('%e.%m.%Y'),
|
||||
"bdate_visibility" => $this->getUser()->getBirthdayPrivacy(),
|
||||
"phone" => "+420 ** *** 228", # TODO
|
||||
|
|
Loading…
Reference in a new issue