telegramsjs
    Preparing search index...

    Variable ErrorMessagesConst

    ErrorMessages: {
        CHAT_ID_NOT_AVAILABLE: "The chat ID related to this message is not available.";
        FILE_DOWNLOAD_FAILED: "Failed to download the file. Error: ${err}.";
        FILE_RETRIEVAL_FAILED: "Failed to retrieve the file from the path: <file_path>.";
        FILE_WRITE_INVALID_TYPE: "Invalid file write type specified. Available types: 'stream' or 'promise'.";
        INVALID_CHAT_ID: "The provided ID is invalid for retrieving chat information; it does not correspond to a valid chat ID.";
        INVALID_CLIENT_ID: "The bot ID is not available. Please check if the bot has been initialized";
        INVALID_FILE_NAME: "The name file is not valid. Please open issue https://github.com/telegramsjs/Telegramsjs/issues";
        INVALID_FILTER_FUNCTION: "The provided 'options.filter' is not a function.";
        INVALID_OPTIONS: "The provided options are invalid.";
        INVALID_USER_ID: "The provided ID is invalid for retrieving user information; it does not correspond to a valid user ID.";
        MESSAGE_ID_NOT_AVAILABLE: "The message ID related to this message is not available.";
        MISSING_TOKEN: "A token must be specified to receive updates from Telegram.";
        MISSING_URL_PARAMETER: "The 'url' parameter is required but was not provided.";
        USER_ID_NOT_AVAILABLE: "The user ID related to this message is not available.";
        WEBHOOK_SERVER_CREATION_FAILED: "The webhook server could not be created.";
    }

    Type Declaration

    • ReadonlyCHAT_ID_NOT_AVAILABLE: "The chat ID related to this message is not available."
    • ReadonlyFILE_DOWNLOAD_FAILED: "Failed to download the file. Error: ${err}."
    • ReadonlyFILE_RETRIEVAL_FAILED: "Failed to retrieve the file from the path: <file_path>."
    • ReadonlyFILE_WRITE_INVALID_TYPE: "Invalid file write type specified. Available types: 'stream' or 'promise'."
    • ReadonlyINVALID_CHAT_ID: "The provided ID is invalid for retrieving chat information; it does not correspond to a valid chat ID."
    • ReadonlyINVALID_CLIENT_ID: "The bot ID is not available. Please check if the bot has been initialized"
    • ReadonlyINVALID_FILE_NAME: "The name file is not valid. Please open issue https://github.com/telegramsjs/Telegramsjs/issues"
    • ReadonlyINVALID_FILTER_FUNCTION: "The provided 'options.filter' is not a function."
    • ReadonlyINVALID_OPTIONS: "The provided options are invalid."
    • ReadonlyINVALID_USER_ID: "The provided ID is invalid for retrieving user information; it does not correspond to a valid user ID."
    • ReadonlyMESSAGE_ID_NOT_AVAILABLE: "The message ID related to this message is not available."
    • ReadonlyMISSING_TOKEN: "A token must be specified to receive updates from Telegram."
    • ReadonlyMISSING_URL_PARAMETER: "The 'url' parameter is required but was not provided."
    • ReadonlyUSER_ID_NOT_AVAILABLE: "The user ID related to this message is not available."
    • ReadonlyWEBHOOK_SERVER_CREATION_FAILED: "The webhook server could not be created."