Function sendTelegramMessage

Send a text message to a Telegram chat, using the Telegram API.

https://core.telegram.org/bots/api#sendmessage

  • Parameters

    • __namedParameters: Config
    • Optionaloptions: Options

    Returns Promise<{
        delivered: boolean;
        delivered_at: undefined;
        message: string;
    } | {
        delivered: boolean;
        delivered_at: string;
        message: string;
    }>