public static class TdApi.InlineQueryResultPhoto extends TdApi.InlineQueryResult
TdApi.InlineQueryResult.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
description
A short description of the result, if known.
|
java.lang.String |
id
Unique identifier of the query result.
|
TdApi.Photo |
photo
Photo.
|
java.lang.String |
title
Title of the result, if known.
|
Constructor and Description |
---|
InlineQueryResultPhoto()
Represents a photo.
|
InlineQueryResultPhoto(java.lang.String id,
TdApi.Photo photo,
java.lang.String title,
java.lang.String description)
Represents a photo.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String id
public TdApi.Photo photo
public java.lang.String title
public java.lang.String description
public static final int CONSTRUCTOR
public InlineQueryResultPhoto()
public InlineQueryResultPhoto(java.lang.String id, TdApi.Photo photo, java.lang.String title, java.lang.String description)
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.public int getConstructor()
getConstructor
in class TdApi.InlineQueryResult