Package org.drinkless.tdlib
Class TdApi.InlineQueryResultPhoto
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InlineQueryResult
org.drinkless.tdlib.TdApi.InlineQueryResultPhoto
- Enclosing class:
- TdApi
Represents a photo.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.A short description of the result, if known.Unique identifier of the query result.Photo.Title of the result, if known. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a photo.InlineQueryResultPhoto(String id, TdApi.Photo photo, String title, String description) Represents a photo. -
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
-
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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InlineQueryResultPhoto
public InlineQueryResultPhoto()Represents a photo. -
InlineQueryResultPhoto
Represents a photo.- Parameters:
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.
-
-
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
-