yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.45k stars 1.53k forks source link

There is no field file_unique_id on sticker object #811

Closed ilxijwd closed 2 years ago

ilxijwd commented 4 years ago

Feature Request.


The problem is simple - there's no property called file_unique_id on Sticker object. Except the official telegram bot api documentation has it https://core.telegram.org/bots/api#sticker

I want to get unique id of the sticker that person is sending to the chat.

iKbwM78xN0

danielperez9430 commented 4 years ago

This is really an optional parameter, so you must create a local variable to store that information. Although it doesn't come out in the autocomplete for visual studio code, you can use everything that is in the Telegram documentation currently without any problem.

XieJiSS commented 4 years ago

This was fixed by https://github.com/DefinitelyTyped/DefinitelyTyped/pull/46033