From d91f6d2a8bac694b8c1cf4dfec7945712fe48965 Mon Sep 17 00:00:00 2001 From: Victor Date: Tue, 1 May 2018 21:25:49 +0500 Subject: [PATCH] WebHookOptions interace `port` property name typo (#25391) See contract in the source code: https://github.com/yagop/node-telegram-bot-api/blob/435f06319e92f12fb7ef642f91d031dafe5aff80/src/telegram.js#L157 --- types/node-telegram-bot-api/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/node-telegram-bot-api/index.d.ts b/types/node-telegram-bot-api/index.d.ts index cfc55d2d33..cacc064abd 100644 --- a/types/node-telegram-bot-api/index.d.ts +++ b/types/node-telegram-bot-api/index.d.ts @@ -35,7 +35,7 @@ declare namespace TelegramBot { interface WebHookOptions { host?: string; - post?: number; + port?: number; key: string; cert: string; pfx: string;