code: def get_user_display_name(self, userid):
          '''Given a Slack userid, grabs user display_name from api.
  
          Args:
              userid (string): the user id of the user being queried
          Returns:
              dict: a dictionary of the api response
          '''
  
          user_info = self.slack_client.api_call('users.info', user=userid)
          if user_info.get('ok'):
              user = user_info.get('user')
              if user.get('profile'):
                  return user.get('profile').get('display_name')
              else:
                  return user.get('name')
          else:
              return userif get_user_display_name(self, userid):
          '''Given a Slack userid, grabs user display_name from api.
  
          Args:
              userid (string): the user id of the user being queried
          Returns:
              dict: a dictionary of the api response
          '''
  
          user_info = self.slack_client.api_call('users.info', user=userid)
          if user_info.get('ok'):
              user = user_info.get('user')
              if user.get('profile'):
                  return user.get('profile').get('display_name')
              else:
                  return user.get('name')
          else:
              return userid
docs: Given a Slack userid, grabs user display_name from api.
  
          Args:
              userid (string): the user id of the user being queried
          Returns:
              dict: a dictionary of the api response