def department(self):
        """
        |  Description: The ID of the department to which the chat is directed
        """
        if self.api and self.department_id:
            return self.api._get_department(self.department_id)
def department ( self ) : if self . api and self . department_id : return self . api . _get_department ( self . department_id )
|  Description: The ID of the department to which the chat is directed