Creates a TelegramNotifier from the given config.
Telegram bot token, chat ID, message format, and transaction display mode.
OptionalmaxTransactions: number
Override for the max transactions shown per account.
Formats and sends an import summary message to the configured Telegram chat.
The ImportSummary to format and send.
Sends a plain HTML text message to the configured Telegram chat.
The HTML-formatted text to send.
Sends an error notification with a fixed header to the configured Telegram chat.
The error message string to include.
Sends an inline keyboard menu with a button per bank and an "All banks" button.
List of bank names to display as inline keyboard buttons.
Procedure indicating the menu was sent or describing the failure.
Sends a prompt and polls for the next non-command reply from the chat.
HTML-formatted message to send before waiting.
Maximum milliseconds to wait before throwing a timeout error.
The text content of the first valid reply message.
Registers the bot's command list with Telegram via setMyCommands.
Additional commands to include beyond the built-in set.
Procedure indicating commands were registered.
Downloads a photo from Telegram by its file_id.
The Telegram file_id of the photo to download.
Procedure with the image Buffer, or failure.
Sends an inline keyboard menu to the configured chat.
HTML message text above the keyboard.
Array of button rows for the inline keyboard.
Procedure indicating the menu was sent.
Telegram notification channel — formats and sends import summaries via the Bot API.