Package org.drinkless.tdlib
Class TdApi.FixTextWithAi
- Enclosing class:
TdApi
Fixes text using an AI model; must not be used in secret chats. May return an error with a message "AICOMPOSE_FLOOD_PREMIUM" if Telegram Premium is required to send further requests.
Returns FixedText
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The original text. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which fixes text using an AI model; must not be used in secret chats.Creates a function, which fixes text using an AI model; must not be used in secret chats. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
text
The original text. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
FixTextWithAi
public FixTextWithAi()Default constructor for a function, which fixes text using an AI model; must not be used in secret chats. May return an error with a message "AICOMPOSE_FLOOD_PREMIUM" if Telegram Premium is required to send further requests.Returns
FixedText -
FixTextWithAi
Creates a function, which fixes text using an AI model; must not be used in secret chats. May return an error with a message "AICOMPOSE_FLOOD_PREMIUM" if Telegram Premium is required to send further requests.Returns
FixedText- Parameters:
text- The original text.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Function<TdApi.FixedText>- Returns:
- this.CONSTRUCTOR
-