yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.49k stars 1.54k forks source link

SetWebHookOptions missing ip_address #1213

Open mynote opened 4 months ago

mynote commented 4 months ago

It seems like that SetWebHookOptions is missing the flag ip_address which might be important since Telegram doesnt update DNS very often.

    interface SetWebHookOptions {
        url?: string | undefined;
        certificate?: string | Stream | undefined;
        max_connections?: number | undefined;
        allowed_updates?: string[] | undefined;
        secret_token?: string | undefined;
    }

should be

    interface SetWebHookOptions {
        url?: string | undefined;
        certificate?: string | Stream | undefined;
        max_connections?: number | undefined;
        allowed_updates?: string[] | undefined;
        secret_token?: string | undefined;
       ip_address?:string | undefined
    }
sainikhil-0521 commented 5 days ago

hii @mynote is this issue still open, can i work on it?