2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

"Add {bot}" button in existing starrefs list.

This commit is contained in:
John Preston
2024-12-02 17:11:08 +04:00
parent 1e14667006
commit 82cec83d87
7 changed files with 128 additions and 30 deletions

View File

@@ -7,6 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "core/stars_amount.h"
#include "data/data_birthday.h"
#include "data/data_peer.h"
#include "data/data_chat_participant_status.h"
@@ -20,6 +21,7 @@ struct BusinessDetails;
} // namespace Data
struct StarRefProgram {
StarsAmount revenuePerUser;
TimeId endDate = 0;
ushort commission = 0;
uint8 durationMonths = 0;