src/ApiClient.php
public function getGroupById($id)
    {
        return $this->apiCall('groups.info', [
            'channel' => $id,
        ])->then(function (Payload $response) {
            return new Group($this, $response['group']);
        });
    }
public function getGroupById($id)
    {
        return $this->apiCall('groups.info', [
            'channel' => $id,
        ])->then(function (Payload $response) {
            return new Group($this, $response['group']);
        });
    }
public function getGroupById ( $ id ) { return $ this -> apiCall ( 'groups.info' , [ 'channel' => $ id , ] ) -> then ( function ( Payload $ response ) { return new Group ( $ this , $ response [ 'group' ] ) ; } ) ; }
Gets a group by its ID.

@param string $id A group ID.

@return \React\Promise\PromiseInterface A promise for a group object.
Gets a group by its ID .