@@ -242,6 +242,7 @@ void SendExistingMedia(
242242 .from = NewMessageFromId (action),
243243 .replyTo = action.replyTo ,
244244 .date = NewMessageDate (action.options ),
245+ .scheduleRepeatPeriod = action.options .scheduleRepeatPeriod ,
245246 .shortcutId = action.options .shortcutId ,
246247 .starsPaid = starsPaid,
247248 .postAuthor = NewMessagePostAuthor (action),
@@ -442,6 +443,7 @@ bool SendDice(MessageToSend &message) {
442443 .from = NewMessageFromId (action),
443444 .replyTo = action.replyTo ,
444445 .date = NewMessageDate (action.options ),
446+ .scheduleRepeatPeriod = action.options .scheduleRepeatPeriod ,
445447 .shortcutId = action.options .shortcutId ,
446448 .starsPaid = starsPaid,
447449 .postAuthor = NewMessagePostAuthor (action),
@@ -681,6 +683,7 @@ void SendConfirmedFile(
681683 .from = NewMessageFromId (action),
682684 .replyTo = file->to .replyTo ,
683685 .date = NewMessageDate (file->to .options ),
686+ .scheduleRepeatPeriod = file->to .options .scheduleRepeatPeriod ,
684687 .shortcutId = file->to .options .shortcutId ,
685688 .starsPaid = std::min (
686689 history->peer ->starsPerMessageChecked (),
0 commit comments