@botmesh/core - v2.0.0-alpha.2
    Preparing search index...

    Variable CORE_MESSAGESConst

    CORE_MESSAGES: {
        timeout: "core.conversation.timeout";
        retries: "core.conversation.retries";
        error: "core.conversation.error";
        conversationInterrupted: "core.conversation.interrupted";
        waitText: "core.wait.text";
        waitInvalid: "core.wait.invalid";
        waitMedia: "core.wait.media";
        waitLocation: "core.wait.location";
        commandsHelp: "core.commands.help";
        commandsReset: "core.commands.reset";
        commandsCancel: "core.commands.cancel";
        commandsId: "core.commands.id";
        commandsIdGroup: "core.commands.idGroup";
        commandsPing: "core.commands.ping";
        commandsUnknown: "core.commands.unknown";
        formPending: "core.form.pending";
        formSkipWord: "core.form.skipWord";
        formSkipHint: "core.form.skipHint";
        formDateHint: "core.form.dateHint";
        formYesNo: "core.form.yesNo";
        formPickOne: "core.form.pickOne";
        formPickUpTo: "core.form.pickUpTo";
        formPickBetween: "core.form.pickBetween";
        formEmpty: "core.form.empty";
        formMinLength: "core.form.minLength";
        formMaxLength: "core.form.maxLength";
        formPattern: "core.form.pattern";
        formEmail: "core.form.email";
        formNumber: "core.form.number";
        formAmbiguousNumber: "core.form.ambiguousNumber";
        formInteger: "core.form.integer";
        formMin: "core.form.min";
        formMax: "core.form.max";
        formDate: "core.form.date";
        formDateMin: "core.form.dateMin";
        formDateMax: "core.form.dateMax";
        formSelect: "core.form.select";
        formUnknownOption: "core.form.unknownOption";
        formPickMin: "core.form.pickMin";
        formPickMax: "core.form.pickMax";
        formOptin: "core.form.optin";
        formOptinRequired: "core.form.optinRequired";
        formRequired: "core.form.required";
        formInvalidValue: "core.form.invalidValue";
        formInvalidOption: "core.form.invalidOption";
        formInvalidDate: "core.form.invalidDate";
        formCta: "core.form.cta";
        formSubmit: "core.form.submit";
        formBody: "core.form.body";
    } = ...

    Keys of the built-in core messages (pass them to ctx.t() or override them in bot.locale()).

    Type Declaration

    • Readonlytimeout: "core.conversation.timeout"

      A conversation wait timed out.

    • Readonlyretries: "core.conversation.retries"

      A wait exhausted its retries.

    • Readonlyerror: "core.conversation.error"

      A conversation threw an unexpected error.

    • ReadonlyconversationInterrupted: "core.conversation.interrupted"

      A conversation was interrupted when another replica took the chat (coordination.handover.fallback: 'notify').

    • ReadonlywaitText: "core.wait.text"

      A text wait received something that is not text.

    • ReadonlywaitInvalid: "core.wait.invalid"

      A validate rejection without its own message.

    • ReadonlywaitMedia: "core.wait.media"

      c.waitMedia() received something that is not an accepted media type.

    • ReadonlywaitLocation: "core.wait.location"

      c.waitLocation() received something that is not a shared location.

    • ReadonlycommandsHelp: "core.commands.help"

      /start and /help text of slashCommandsPlugin.

    • ReadonlycommandsReset: "core.commands.reset"

      /reset reply.

    • ReadonlycommandsCancel: "core.commands.cancel"

      /cancel reply.

    • ReadonlycommandsId: "core.commands.id"

      /id reply ({id}).

    • ReadonlycommandsIdGroup: "core.commands.idGroup"

      /id reply in a group ({id}).

    • ReadonlycommandsPing: "core.commands.ping"

      /ping reply.

    • ReadonlycommandsUnknown: "core.commands.unknown"

      Reply to an unknown /command.

    • ReadonlyformPending: "core.form.pending"

      Native form: reminder when something other than the submission arrives.

    • ReadonlyformSkipWord: "core.form.skipWord"

      Degraded form: default word that skips an optional field.

    • ReadonlyformSkipHint: "core.form.skipHint"

      Degraded form: hint under an optional field ({word}).

    • ReadonlyformDateHint: "core.form.dateHint"

      Degraded form: format hint under a date field.

    • ReadonlyformYesNo: "core.form.yesNo"

      Degraded form: the opt-in menu.

    • ReadonlyformPickOne: "core.form.pickOne"

      Degraded form: multiselect hint when only one pick is allowed.

    • ReadonlyformPickUpTo: "core.form.pickUpTo"

      Degraded form: multiselect hint ({max}).

    • ReadonlyformPickBetween: "core.form.pickBetween"

      Degraded form: multiselect hint ({min}, {max}).

    • ReadonlyformEmpty: "core.form.empty"

      Empty answer to a text field ({label}).

    • ReadonlyformMinLength: "core.form.minLength"

      Text shorter than minLength ({label}, {min}).

    • ReadonlyformMaxLength: "core.form.maxLength"

      Text longer than maxLength ({label}, {max}).

    • ReadonlyformPattern: "core.form.pattern"

      Text not matching pattern ({label}).

    • ReadonlyformEmail: "core.form.email"

      Invalid email.

    • ReadonlyformNumber: "core.form.number"

      Not a number ({label}).

    • ReadonlyformAmbiguousNumber: "core.form.ambiguousNumber"

      Number with thousands separators ({label}).

    • ReadonlyformInteger: "core.form.integer"

      Not a whole number ({label}).

    • ReadonlyformMin: "core.form.min"

      Number below min ({label}, {min}).

    • ReadonlyformMax: "core.form.max"

      Number above max ({label}, {max}).

    • ReadonlyformDate: "core.form.date"

      Unparseable date.

    • ReadonlyformDateMin: "core.form.dateMin"

      Date before min ({label}, {min}).

    • ReadonlyformDateMax: "core.form.dateMax"

      Date after max ({label}, {max}).

    • ReadonlyformSelect: "core.form.select"

      Answer matching no option of a select.

    • ReadonlyformUnknownOption: "core.form.unknownOption"

      Multiselect token matching no option ({part}).

    • ReadonlyformPickMin: "core.form.pickMin"

      Too few picks ({label}, {min}).

    • ReadonlyformPickMax: "core.form.pickMax"

      Too many picks ({label}, {max}).

    • ReadonlyformOptin: "core.form.optin"

      Opt-in answer that is neither yes nor no.

    • ReadonlyformOptinRequired: "core.form.optinRequired"

      Required opt-in not accepted ({label}).

    • ReadonlyformRequired: "core.form.required"

      Required field missing from a native submission ({label}).

    • ReadonlyformInvalidValue: "core.form.invalidValue"

      Native submission value of the wrong type ({label}).

    • ReadonlyformInvalidOption: "core.form.invalidOption"

      Native submission with an unknown option ({label}).

    • ReadonlyformInvalidDate: "core.form.invalidDate"

      Native submission with an invalid date ({label}).

    • ReadonlyformCta: "core.form.cta"

      Native form: label of the button that opens it (default of FormDefinition.cta).

    • ReadonlyformSubmit: "core.form.submit"

      Native form: label of its submit button (default of FormDefinition.submitLabel).

    • ReadonlyformBody: "core.form.body"

      Native form: message body when the definition has neither intro nor title.