Slack\RealTimeClient::getGroups PHP Méthode

getGroups() public méthode

{@inheritDoc}
public getGroups ( )
    public function getGroups()
    {
        if (!$this->connected) {
            return Promise\reject(new ConnectionException('Client not connected. Did you forget to call `connect()`?'));
        }
        return Promise\resolve(array_values($this->groups));
    }