Package org.drinkless.tdlib
Class TdApi.SummarizeMessage
- Enclosing class:
- TdApi
Summarizes content of the message with non-empty summaryLanguageCode.
Returns FormattedText
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the chat to which the message belongs.static final intIdentifier uniquely determining type of the object.longIdentifier of the message.Pass a language code to which the summary will be translated; may be empty if translation isn't needed. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which summarizes content of the message with non-empty summaryLanguageCode.SummarizeMessage(long chatId, long messageId, String translateToLanguageCode) Creates a function, which summarizes content of the message with non-empty summaryLanguageCode. -
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
-
chatId
public long chatIdIdentifier of the chat to which the message belongs. -
messageId
public long messageIdIdentifier of the message. -
translateToLanguageCode
Pass a language code to which the summary will be translated; may be empty if translation isn't needed. See translateText.toLanguageCode for the list of supported values. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SummarizeMessage
public SummarizeMessage()Default constructor for a function, which summarizes content of the message with non-empty summaryLanguageCode.Returns
FormattedText -
SummarizeMessage
Creates a function, which summarizes content of the message with non-empty summaryLanguageCode.Returns
FormattedText- Parameters:
chatId- Identifier of the chat to which the message belongs.messageId- Identifier of the message.translateToLanguageCode- Pass a language code to which the summary will be translated; may be empty if translation isn't needed. See translateText.toLanguageCode for the list of supported values.
-
-
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
-