package hello;

/**
 * Class that carries out actions
 * @author Zach Panzarino
 * @version 1.0.0
 */
public class Action {
    /**
     * Creates a new chat with matching id
     * @param content The content of the message
     * @return Status of creation
     */
    public static String create(String content){
        String code = content.replaceAll("\\s+","");
        String key = code.substring(0, Math.min(20, code.length()));
        
        return "";
    }
}
@@ -182,16 +182,456 @@
  @param 
+number The phone number of the sender%0A     * @param content The content of the message%0A     */%0A    public static void create(String number, String content)%7B%0A        String code = content.replaceAll(%22%5C%5Cs+%22,%22%22);%0A        String key = code.substring(0, Math.min(20, code.length()));%0A        %0A        return %22%22;%0A    %7D%0A    %0A    /**%0A     * Adds a user to a group of an existing id%0A     * @param number The phone number of the sender%0A     * @param 
 content 
@@ -660,42 +660,8 @@
 sage
-%0A     * @return Status of creation
 %0A   
@@ -687,22 +687,33 @@
 tic 
-String create(
+void join(String number, 
 Stri
@@ -880,10 +880,352 @@
 %22;%0A    %7D
+ %0A    %0A    /**%0A     * Sends a message to the group the user is in%0A     * @param number The phone number of the sender%0A     * @param content The content of the message%0A     */%0A    public static void message(String number, String content)%7B%0A        String key = code.substring(0, Math.min(140, code.length()));%0A        %0A        return %22%22;%0A    %7D 
 %0A%7D

Update actions