# Uses of Class
it.tdlight.jni.TdApi.Photo

## Uses of TdApi.Photo in it.tdlight.jni

Fields in it.tdlight.jni declared as TdApi.Photo
Modifier and Type
Field
Description
`TdApi.Photo`
TdApi.PageBlockEmbeddedPost.`authorPhoto`
Post author photo; may be null.
`TdApi.Photo`
TdApi.Game.`photo`
Game photo.
`TdApi.Photo`
TdApi.InlineQueryResultPhoto.`photo`
Photo.
`TdApi.Photo`
TdApi.MessageInvoice.`photo`
Product photo; may be null.
`TdApi.Photo`
TdApi.MessagePhoto.`photo`
The photo description.
`TdApi.Photo`
TdApi.PageBlockPhoto.`photo`
Photo file; may be null.
`TdApi.Photo`
TdApi.PageBlockRelatedArticle.`photo`
Article photo; may be null.
`TdApi.Photo`
TdApi.PaymentReceipt.`photo`
Product photo; may be null.
`TdApi.Photo`
TdApi.PushMessageContentPhoto.`photo`
Message content; may be null.
`TdApi.Photo`
TdApi.WebPage.`photo`
Image representing the content; may be null.
`TdApi.Photo`
TdApi.PageBlockEmbedded.`posterPhoto`
Poster photo, if available; may be null.
Constructors in it.tdlight.jni with parameters of type TdApi.Photo
Modifier
Constructor
Description
``
`Game(long id, String shortName, String title, TdApi.FormattedText text, String description, TdApi.Photo photo, TdApi.Animation animation)`
Describes a game.
``
`InlineQueryResultPhoto(String id, TdApi.Photo photo, String title, String description)`
Represents a photo.
``
`MessageInvoice(String title, String description, TdApi.Photo photo, String currency, long totalAmount, String startParameter, boolean isTest, boolean needShippingAddress, long receiptMessageId)`
A message with an invoice from a bot.
``
`MessagePhoto(TdApi.Photo photo, TdApi.FormattedText caption, boolean isSecret)`
A photo message.
``
`PageBlockEmbedded(String url, String html, TdApi.Photo posterPhoto, int width, int height, TdApi.PageBlockCaption caption, boolean isFullWidth, boolean allowScrolling)`
An embedded web page.
``
`PageBlockEmbeddedPost(String url, String author, TdApi.Photo authorPhoto, int date, TdApi.PageBlock[] pageBlocks, TdApi.PageBlockCaption caption)`
An embedded post.
``
`PageBlockPhoto(TdApi.Photo photo, TdApi.PageBlockCaption caption, String url)`
A photo.
``
`PageBlockRelatedArticle(String url, String title, String description, TdApi.Photo photo, String author, int publishDate)`
Contains information about a related article.
``
`PaymentReceipt(String title, String description, TdApi.Photo photo, int date, long sellerBotUserId, long paymentsProviderUserId, TdApi.Invoice invoice, TdApi.OrderInfo orderInfo, TdApi.ShippingOption shippingOption, String credentialsTitle, long tipAmount)`
Contains information about a successful payment.
``
`PushMessageContentPhoto(TdApi.Photo photo, String caption, boolean isSecret, boolean isPinned)`
A photo message.
``
`WebPage(String url, String displayUrl, String type, String siteName, String title, TdApi.FormattedText description, TdApi.Photo photo, String embedUrl, String embedType, int embedWidth, int embedHeight, int duration, String author, TdApi.Animation animation, TdApi.Audio audio, TdApi.Document document, TdApi.Sticker sticker, TdApi.Video video, TdApi.VideoNote videoNote, TdApi.VoiceNote voiceNote, int instantViewVersion)`
Describes a web page preview.