Cotal TypeScript packages
    Preparing search index...

    Function submitDraft

    • The Enter rule. A blank draft does nothing. A line that starts with one / is a slash command: /quit leaves, and every other command waits for a connection unless it runsOffline. A message waits for a connection and for the previous send, then needs a recipient; pick names how one is chosen. //text sends /text.

      Parameters

      • draft: string
      • at: {
            connection: ConnectionState;
            pick: string;
            recipient: Recipient | undefined;
            sending: boolean;
        }

      Returns Submit