Update API scheme, improve service messages.

This commit is contained in:
John Preston
2025-02-20 12:22:20 +04:00
parent e302f328f7
commit 3633c19208
15 changed files with 253 additions and 155 deletions
+3 -1
View File
@@ -634,7 +634,9 @@ void SendConfirmedFile(
.replyTo = file->to.replyTo,
.date = NewMessageDate(file->to.options),
.shortcutId = file->to.options.shortcutId,
.starsPaid = file->to.options.starsApproved,
.starsPaid = std::min(
history->peer->starsPerMessageChecked(),
file->to.options.starsApproved),
.postAuthor = NewMessagePostAuthor(action),
.groupedId = groupId,
.effectId = file->to.options.effectId,