2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Update API scheme, new paid.

This commit is contained in:
John Preston
2025-02-18 19:50:55 +04:00
parent 852ab19760
commit 960cf7a34b
22 changed files with 302 additions and 290 deletions

View File

@@ -153,7 +153,6 @@ private:
Data::ChatBotCommands _botCommands;
std::unique_ptr<Data::Forum> _forum;
int _starsPerMessage = 0;
int _starsForMessageLocked = 0;
friend class ChannelData;
@@ -464,10 +463,6 @@ public:
void setStarsPerMessage(int stars);
[[nodiscard]] int starsPerMessage() const;
[[nodiscard]] int starsForMessageLocked() const;
void lockStarsForMessage();
[[nodiscard]] int commitStarsForMessage();
void cancelStarsForMessage();
[[nodiscard]] int peerGiftsCount() const;
void setPeerGiftsCount(int count);