Skip to content

Commit

Permalink
Fix testbot
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolfik1 committed Jul 10, 2024
1 parent 934e903 commit 7fe655b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/Funogram.TestBot/Commands/Base.fs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ let updateArrived (ctx: UpdateContext) =
match c.Message with
| Some (MaybeInaccessibleMessage.Message msg) ->
let inlineKeyboardMarkup = InlineKeyboardMarkup.Create([| [| InlineKeyboardButton.Create("Changed!", callbackData = "Test") |] |])
Req.EditMessageReplyMarkup.Make(msg.Chat.Id, msg.MessageId, replyMarkup = inlineKeyboardMarkup)
Req.EditMessageReplyMarkup.Make(chatId = ChatId.Int msg.Chat.Id, messageId = msg.MessageId, replyMarkup = inlineKeyboardMarkup)
|> bot ctx.Config
| _ -> ()
| _ -> ()
Expand Down
2 changes: 2 additions & 0 deletions src/examples/Funogram.TestBot/Commands/Files.fs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ let testUploadAndSendPhotoGroup config (chatId: int64) =
ParseMode = None
CaptionEntities = None
HasSpoiler = None
ShowCaptionAboveMedia = None
} |> InputMedia.Photo

let image1 = Http.RequestStream(PhotoUrl).ResponseStream
Expand All @@ -38,6 +39,7 @@ let testUploadAndSendPhotoGroupAsBytes config (chatId: int64) =
ParseMode = None
CaptionEntities = None
HasSpoiler = None
ShowCaptionAboveMedia = None
} |> InputMedia.Photo

use image1 = Http.RequestStream(PhotoUrl).ResponseStream
Expand Down

0 comments on commit 7fe655b

Please sign in to comment.