java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineQueryResult
it.tdlight.jni.TdApi.InlineQueryResultPhoto
- Enclosing class:
- TdApi
Represents a photo.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
A short description of the result, if known.Unique identifier of the query result.Photo.Title of the result, if known. -
Constructor Summary
ConstructorDescriptionRepresents a photo.InlineQueryResultPhoto
(DataInput input) Represents a photo.InlineQueryResultPhoto
(String id, TdApi.Photo photo, String title, String description) Represents a photo. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
Unique identifier of the query result. -
photo
Photo. -
title
Title of the result, if known. -
description
A short description of the result, if known. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
InlineQueryResultPhoto
public InlineQueryResultPhoto()Represents a photo. -
InlineQueryResultPhoto
Represents a photo.- Parameters:
id
- String Unique identifier of the query result.photo
- Photo Photo.title
- String Title of the result, if known.description
- String A short description of the result, if known.
-
InlineQueryResultPhoto
Represents a photo.- 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()
-