2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Added api support of paid credits transactions from bots.

This commit is contained in:
23rd
2024-10-28 17:41:43 +03:00
parent 23a77b1ba4
commit 119f109904
6 changed files with 82 additions and 3 deletions

View File

@@ -115,6 +115,7 @@ constexpr auto kTransactionsLimit = 100;
.convertStars = int(stargift
? stargift->data().vconvert_stars().v
: 0),
.floodSkip = int(tl.data().vfloodskip_number().value_or(0)),
.converted = stargift && incoming,
.reaction = tl.data().is_reaction(),
.refunded = tl.data().is_refund(),