import { type FetchOptions } from "https://deno.land/x/grammy_runner@v2.0.3/mod.ts";
Options that can be passed to the call to getUpdates
when the runner
fetches new a new batch of updates.
Corresponds to the options mentioned in https://core.telegram.org/bots/api#getupdates but without the parameters that the runner controls.
Properties
optional
allowed_updates: ReadonlyArray<Exclude<keyof Update, "update_id">>A list of the update types you want your bot to receive. For example,
specify ["message", "edited_channel_post", "callback_query"]
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_member
(default). If not specified, the previous
setting will be used.