Package org.drinkless.tdlib
Class TdApi.InputMessageDocument
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputMessageContent
org.drinkless.tdlib.TdApi.InputMessageDocument
- Enclosing class:
- TdApi
A document message (general file).
-
Field Summary
FieldsModifier and TypeFieldDescriptionDocument caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.static final intIdentifier uniquely determining type of the object.Document to be sent. -
Constructor Summary
ConstructorsConstructorDescriptionA document message (general file).InputMessageDocument(TdApi.InputDocument document, TdApi.FormattedText caption) A document message (general file). -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
document
Document to be sent. -
caption
Document caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputMessageDocument
public InputMessageDocument()A document message (general file). -
InputMessageDocument
A document message (general file).- Parameters:
document- Document to be sent.caption- Document caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
-
-
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
-