Plugin options.

interface Options {
    chatId?: string | number;
    textAfterBuild?: string;
    textBeforeBuild?: string;
    token?: string;
}

Properties

chatId?: string | number = ...

Telegram chat ID.

Remarks

The Telegram chat ID is negative for a group chat, positive for a username chat.

textAfterBuild?: string = ...

Text message to send when Eleventy finishes building your site.

textBeforeBuild?: string = ...

Text message to send when Eleventy starts building your site.

token?: string = ...

Telegram bot token.

Remarks

If you forgot the API token of a Telegram bot you created, you can retrieve it at any time using BotFather. Just go to:

BotFather > bot list > API token