class_docstr: The Microsoft Graph API client for the Microsoft Teams handler.
  This client is used for accessing the Microsoft Teams specific endpoints of the Microsoft Graph API.
  Several common methods for submitting requests, fetching data, etc. are inherited from the base class.
class_docstr_tok: ["The","Microsoft","Graph","API","client","for","the","Microsoft","Teams","handler",".","This","client","is","used","for","accessing","the","Microsoft","Teams","specific","endpoints","of","the","Microsoft","Graph","API",".","Several","common","methods","for","submitting","requests",",","fetching","data",",","etc",".","are","inherited","from","the","base","class","."]
docstr: Get all group IDs related to Microsoft Teams.
  
  Returns
  -------
  List[Text]
      The group IDs.
docstr_tok: ["Get","all","group","IDs","related","to","Microsoft","Teams",".","Returns","--","--","--","-","List","[","Text","]","The","group","IDs","."]
code: def _get_group_ids(self) -> List[Text]:
      """
      Get all group IDs related to Microsoft Teams.
  
      Returns
      -------
      List[Text]
          The group IDs.
      """
  
      if not self._group_ids:
          api_url = self._get_api_url("groups")
          # only get the id and resourceProvisioningOptions fields
          params = {"$select": "id,resourceProvisioningOptions"}
          groups = self._get_response_value_unsafe(
              self._make_request(api_url, params=params)
          )
          # filter out only the groups that are related to Microsoft Teams
          self._group_ids = [
              item["id"]
              for item in groups
              if "Team" in item["resourceProvisioningOptions"]
          ]
  
      return self._group_ids
  
file_path: mindsdb/mindsdb/integrations/handlers/ms_teams_handler/ms_graph_api_teams_client.py
imports: from typing import Text, List, Dict, Optional
  from mindsdb.integrations.handlers.utilities.api_utilities.microsoft.ms_graph_api_utilities import MSGraphAPIBaseClient
label_desc: Use image node_id 1 for calling the MSGraphAPITeamsClient obj's underlying member method code with example usage: obj._get_group_ids() and returns: self