Skip to content

export Class

AllowedUpdatesOptions ​

extends ​

Builder

Constructor ​

ts
 new AllowedUpdatesOptions( ...allowed_updates )
ParameterTypeDescription
...allowed_updatesAllowedUpdates[]The updates the client will receive. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used.

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.