class_docstr: TeamsOutput handles all alert dispatching for Microsoft Teams
class_docstr_tok: ["TeamsOutput","handles","all","alert","dispatching","for","Microsoft","Teams"]
docstr: Add buttons to the teams card
  
  Args:
      teams_card (pymsteams.connectorcard): Teams connector card
      buttons (list[(text, url)]):
          Buttons to place on the card, should be a list of tuples containing
          the text and the url
  
  Returns:
      teams_card (pymsteams.connectorcard): teams_card with buttons added
docstr_tok: ["Add","buttons","to","the","teams","card","Args",":","teams_card","(","pymsteams.connectorcard",")",":","Teams","connector","card","buttons","(","list","[","(","text",",","url",")","]",")",":","Buttons","to","place","on","the","card",",","should","be","a","list","of","tuples","containing","the","text","and","the","url","Returns",":","teams_card","(","pymsteams.connectorcard",")",":","teams_card","with","buttons","added"]
code: def _add_buttons(teams_card, buttons):
      """Add buttons to the teams card
  
      Args:
          teams_card (pymsteams.connectorcard): Teams connector card
          buttons (list[(text, url)]):
              Buttons to place on the card, should be a list of tuples containing
              the text and the url
  
      Returns:
          teams_card (pymsteams.connectorcard): teams_card with buttons added
      """
      for button_text, button_url in buttons:
          teams_card.addLinkButton(button_text, button_url)
  
      return teams_card
  
file_path: streamalert/streamalert/alert_processor/outputs/teams.py
imports: from collections import OrderedDict
  import pymsteams
  from pymsteams import TeamsWebhookException
  from streamalert.alert_processor.helpers import compose_alert
  from streamalert.alert_processor.outputs.output_base import OutputDispatcher, OutputProperty, StreamAlertOutput
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 6 for calling the TeamsOutput obj's underlying member method code with example usage: obj._add_buttons(teams_card, buttons) and returns: teams_card