':type config: dict'

def _parse_config(self, config):

    self._token = config[_TOKEN_ATTR]
    self._parse_mode = config.get(_PARSE_ATTR)
    self._usernames = []
    self._fullnames = []
    self._groups = []
    for i in config[_RCPTS_ATTR]:
        if (_USERNAME_ATTR in i):
            self._usernames.append(i[_USERNAME_ATTR])
        elif (_FULLNAME_ATTR in i):
            fullname = i[_FULLNAME_ATTR]
            firstname = fullname[_FIRSTNAME_ATTR]
            surname = fullname[_SURNAME_ATTR]
            self._fullnames.append((firstname, surname))
        elif (_GROUP_ATTR in i):
            self._groups.append(i[_GROUP_ATTR])
