Package it.tdlight.jni
Class TdApi.InlineQueryResultDocument
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineQueryResult
it.tdlight.jni.TdApi.InlineQueryResultDocument
- Enclosing class:
- TdApi
public static class TdApi.InlineQueryResultDocument extends TdApi.InlineQueryResult
Represents a document.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
description
Document description.TdApi.Document
document
Document.String
id
Unique identifier of the query result.String
title
Document title. -
Constructor Summary
Constructors Constructor Description InlineQueryResultDocument()
Represents a document.InlineQueryResultDocument(DataInput input)
InlineQueryResultDocument(String id, TdApi.Document document, String title, String description)
Represents a document. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
Unique identifier of the query result. -
document
Document. -
title
Document title. -
description
Document description. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InlineQueryResultDocument
public InlineQueryResultDocument()Represents a document. -
InlineQueryResultDocument
public InlineQueryResultDocument(String id, TdApi.Document document, String title, String description)Represents a document.- Parameters:
id
- String Unique identifier of the query result.document
- Document Document.title
- String Document title.description
- String Document description.
-
InlineQueryResultDocument
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-