Package org.drinkless.tdlib
Class TdApi.FixRichMessageWithAi
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.RichMessage>
org.drinkless.tdlib.TdApi.FixRichMessageWithAi
- Enclosing class:
- TdApi
Fixes a rich message using an AI model. May return an error with a message "AICOMPOSE_FLOOD_PREMIUM" if Telegram Premium is required to send further requests.
Returns RichMessage
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The original message. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which fixes a rich message using an AI model.Creates a function, which fixes a rich message using an AI model. -
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
-
message
The original message. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
FixRichMessageWithAi
public FixRichMessageWithAi()Default constructor for a function, which fixes a rich message using an AI model. May return an error with a message "AICOMPOSE_FLOOD_PREMIUM" if Telegram Premium is required to send further requests.Returns
RichMessage -
FixRichMessageWithAi
Creates a function, which fixes a rich message using an AI model. May return an error with a message "AICOMPOSE_FLOOD_PREMIUM" if Telegram Premium is required to send further requests.Returns
RichMessage- Parameters:
message- The original message.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-