FetchOptions
Options that can be passed to the call to get
when the runner fetches new a new batch of updates.
Corresponds to the options mentioned in https://
Properties
timeout
ts
timeout?: number;
Timeout in seconds for long polling. Defaults to 30.
allowed_updates
ts
allowed_updates?: ReadonlyArray<Exclude<keyof Update, "update_id">>;
A list of the update types you want your bot to receive. For example, specify ["message"
to only receive updates of these types. See Update for a complete list of available update types. Specify an empty list to receive all update types except chat
(default). If not specified, the previous setting will be used.