Skip to content

Commit

Permalink
fixed parse mode in MediaToMediaFileStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
wellon committed May 9, 2023
1 parent 59457a9 commit 59e866c
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -45,7 +45,8 @@ public async Task<Message> UpdateMessage(IUpdateMessageContext context)
context.MessageId,
new InputMediaPhoto(context.MediaFile!)
{
Caption = context.MessageText
Caption = context.MessageText,
ParseMode = context.ParseMode
},
replyMarkup: context.KeyboardMarkup,
cancellationToken: context.CancelToken
Expand Down

0 comments on commit 59e866c

Please sign in to comment.