Package it.tdlight.jni
Class TdApi.InlineQueryResultPhoto
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineQueryResult
it.tdlight.jni.TdApi.InlineQueryResultPhoto
- Enclosing class:
- TdApi
public static class TdApi.InlineQueryResultPhoto extends TdApi.InlineQueryResult
Represents a photo.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
description
A short description of the result, if known.String
id
Unique identifier of the query result.TdApi.Photo
photo
Photo.String
title
Title of the result, if known. -
Constructor Summary
Constructors Constructor Description InlineQueryResultPhoto()
Represents a photo.InlineQueryResultPhoto(DataInput input)
InlineQueryResultPhoto(String id, TdApi.Photo photo, String title, String description)
Represents a photo. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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
- 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()
-