Skip to content

Commit

Permalink
Bot: send AllowedUpdates to the server
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Dec 31, 2023
1 parent d255086 commit d4edd34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Funogram.Telegram/Bot.fs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ let private runBot config me updateArrived updatesArrived =
async {
try
let! updatesResult =
Req.GetUpdates.Make(offset, ?limit = config.Limit, ?timeout = config.Timeout)
Req.GetUpdates.Make(offset, ?limit = config.Limit, ?timeout = config.Timeout, ?allowedUpdates = (config.AllowedUpdates |> Option.map Seq.toArray))
|> bot

match updatesResult with
Expand Down

0 comments on commit d4edd34

Please sign in to comment.