You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Telegram.Bot/Types/Payments/AffiliateInfo.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ public partial class AffiliateInfo
19
19
20
20
/// <summary>Integer amount of Telegram Stars received by the affiliate from the transaction, rounded to 0; can be negative for refunds</summary>
21
21
[JsonIgnore(Condition=JsonIgnoreCondition.Never)]
22
-
publicintAmount{get;set;}
22
+
publiclongAmount{get;set;}
23
23
24
24
/// <summary><em>Optional</em>. The number of 1/1000000000 shares of Telegram Stars received by the affiliate; from -999999999 to 999999999; can be negative for refunds</summary>
Copy file name to clipboardExpand all lines: src/Telegram.Bot/Types/Payments/LabeledPrice.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,13 @@ public partial class LabeledPrice
10
10
11
11
/// <summary>Price of the product in the <em>smallest units</em> of the <a href="https://core.telegram.org/bots/payments#supported-currencies">currency</a> (integer, <b>not</b> float/double). For example, for a price of <c>US$ 1.45</c> pass <c>amount = 145</c>. See the <em>exp</em> parameter in <a href="https://core.telegram.org/bots/payments/currencies.json">currencies.json</a>, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).</summary>
12
12
[JsonIgnore(Condition=JsonIgnoreCondition.Never)]
13
-
publicrequiredintAmount{get;set;}
13
+
publicrequiredlongAmount{get;set;}
14
14
15
15
/// <summary>Initializes an instance of <see cref="LabeledPrice"/></summary>
16
16
/// <param name="label">Portion label</param>
17
17
/// <param name="amount">Price of the product in the <em>smallest units</em> of the <a href="https://core.telegram.org/bots/payments#supported-currencies">currency</a> (integer, <b>not</b> float/double). For example, for a price of <c>US$ 1.45</c> pass <c>amount = 145</c>. See the <em>exp</em> parameter in <a href="https://core.telegram.org/bots/payments/currencies.json">currencies.json</a>, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).</param>
Copy file name to clipboardExpand all lines: src/Telegram.Bot/Types/StarAmount.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ public partial class StarAmount
6
6
{
7
7
/// <summary>Integer amount of Telegram Stars, rounded to 0; can be negative</summary>
8
8
[JsonIgnore(Condition=JsonIgnoreCondition.Never)]
9
-
publicintAmount{get;set;}
9
+
publiclongAmount{get;set;}
10
10
11
11
/// <summary><em>Optional</em>. The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999; can be negative if and only if <see cref="Amount">Amount</see> is non-positive</summary>
Copy file name to clipboardExpand all lines: src/Telegram.Bot/Types/SuggestedPostPrice.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,5 +10,5 @@ public partial class SuggestedPostPrice
10
10
11
11
/// <summary>The amount of the currency that will be paid for the post in the <em>smallest units</em> of the currency, i.e. Telegram Stars or nanotoncoins. Currently, price in Telegram Stars must be between 5 and 100000, and price in nanotoncoins must be between 10000000 and 10000000000000.</summary>
0 commit comments