Class TdApi.InlineQueryResultPhoto
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.InlineQueryResult
dev.voroby.springframework.telegram.client.TdApi.InlineQueryResultPhoto
- Enclosing class:
- TdApi
Represents a photo.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier 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
ConstructorDescriptionRepresents a photo.InlineQueryResultPhoto
(String id, TdApi.Photo photo, String title, String description) Represents a photo. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-