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
/// Adds a custom text composition style to the list of used by the user styles. May return an error with a message "TONES_SAVED_TOO_MANY" if the maximum number of added custom styles has been reached
/// Adds a custom text composition style to the list of used by the user styles. May return an error with a message "TONES_SAVED_TOO_MANY" if the maximum number of added custom styles has been reached
Copy file name to clipboardExpand all lines: TdLib.Api/Functions/AnswerWebAppQuery.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ public static partial class TdApi
13
13
/// <summary>
14
14
/// Sets the result of interaction with a Web App and sends corresponding message on behalf of the user to the chat from which the query originated; for bots only
@@ -45,7 +45,7 @@ public class AnswerWebAppQuery : Function<SentWebAppMessage>
45
45
/// <summary>
46
46
/// Sets the result of interaction with a Web App and sends corresponding message on behalf of the user to the chat from which the query originated; for bots only
Copy file name to clipboardExpand all lines: TdLib.Api/Functions/CheckAuthenticationPremiumPurchase.cs
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,13 @@ public class CheckAuthenticationPremiumPurchase : Function<Ok>
27
27
[JsonProperty("@extra")]
28
28
publicoverridestringExtra{get;set;}
29
29
30
+
/// <summary>
31
+
/// The number of days for which the Telegram Premium subscription will be granted
32
+
/// </summary>
33
+
[JsonConverter(typeof(Converter))]
34
+
[JsonProperty("premium_day_count")]
35
+
publicintPremiumDayCount{get;set;}
36
+
30
37
/// <summary>
31
38
/// ISO 4217 currency code of the payment currency
32
39
/// </summary>
@@ -46,11 +53,11 @@ public class CheckAuthenticationPremiumPurchase : Function<Ok>
46
53
/// Checks whether an in-store purchase of Telegram Premium is possible before authorization. Works only when the current authorization state is authorizationStateWaitPremiumPurchase
/// Creates a custom text composition style. May return an error with a message "TONES_SAVED_TOO_MANY" if the maximum number of added custom styles has been reached
/// Title of the style; 1-getOption("text_composition_style_title_length_max") characters
32
+
/// </summary>
33
+
[JsonConverter(typeof(Converter))]
34
+
[JsonProperty("title")]
35
+
publicstringTitle{get;set;}
36
+
37
+
/// <summary>
38
+
/// Identifier of the custom emoji corresponding to the style
39
+
/// </summary>
40
+
[JsonConverter(typeof(Converter.Int64))]
41
+
[JsonProperty("custom_emoji_id")]
42
+
publiclongCustomEmojiId{get;set;}
43
+
44
+
/// <summary>
45
+
/// Prompt that will be used for text composition; 1-getOption("text_composition_style_prompt_length_max") characters
46
+
/// </summary>
47
+
[JsonConverter(typeof(Converter))]
48
+
[JsonProperty("prompt")]
49
+
publicstringPrompt{get;set;}
50
+
51
+
/// <summary>
52
+
/// Pass true if the current user must be shown as the creator of the style
53
+
/// </summary>
54
+
[JsonConverter(typeof(Converter))]
55
+
[JsonProperty("show_creator")]
56
+
publicboolShowCreator{get;set;}
57
+
}
58
+
59
+
/// <summary>
60
+
/// Creates a custom text composition style. May return an error with a message "TONES_SAVED_TOO_MANY" if the maximum number of added custom styles has been reached
0 commit comments