src/Contact/Groups.php
public function getMemberByUsername($username, $memberUsername)
    {
        $members = $this->get($username)['MemberList'];

        if (count($members) === 0) {
            return;
        }

        foreach ($members as $member) {
            if ($memberUsername === $member['UserName']) {
                return $member;
            }
        }
    }
public function getMemberByUsername($username, $memberUsername)
    {
        $members = $this->get($username)['MemberList'];

        if (count($members) === 0) {
            return;
        }

        foreach ($members as $member) {
            if ($memberUsername === $member['UserName']) {
                return $member;
            }
        }
    }
根据username获取群成员.

@param $username
@param $memberUsername

@return mixed