# 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.BotInfo.`photo`
Photo shown in the chat with the bot if the chat is empty; may be null.
`TdApi.Photo`
TdApi.Game.`photo`
Game photo.
`TdApi.Photo`
TdApi.InlineQueryResultPhoto.`photo`
Photo.
`TdApi.Photo`
TdApi.MessageExtendedMediaPhoto.`photo`
The photo.
`TdApi.Photo`
TdApi.MessageInvoice.`photo`
Product photo; may be null.
`TdApi.Photo`
TdApi.MessagePhoto.`photo`
The photo.
`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.StoryContentPhoto.`photo`
The photo.
`TdApi.Photo`
TdApi.WebApp.`photo`
Web App photo.
`TdApi.Photo`
TdApi.WebPage.`photo`
Image representing the content; may be null.
`TdApi.Photo`
TdApi.PageBlockEmbedded.`posterPhoto`
Poster photo, if available; may be null.
`TdApi.Photo`
TdApi.PaymentForm.`productPhoto`
Product photo; may be null.
Constructors in it.tdlight.jni with parameters of type TdApi.Photo
Modifier
Constructor
Description
``
`BotInfo(String shortDescription, String description, TdApi.Photo photo, TdApi.Animation animation, TdApi.BotMenuButton menuButton, TdApi.BotCommand[] commands, TdApi.ChatAdministratorRights defaultGroupAdministratorRights, TdApi.ChatAdministratorRights defaultChannelAdministratorRights, TdApi.InternalLinkType editCommandsLink, TdApi.InternalLinkType editDescriptionLink, TdApi.InternalLinkType editDescriptionMediaLink, TdApi.InternalLinkType editSettingsLink)`
Contains information about a bot.
``
`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.
``
`MessageExtendedMediaPhoto(TdApi.Photo photo, TdApi.FormattedText caption)`
The media is a photo.
``
`MessageInvoice(String title, TdApi.FormattedText description, TdApi.Photo photo, String currency, long totalAmount, String startParameter, boolean isTest, boolean needShippingAddress, long receiptMessageId, TdApi.MessageExtendedMedia extendedMedia)`
A message with an invoice from a bot.
``
`MessagePhoto(TdApi.Photo photo, TdApi.FormattedText caption, boolean hasSpoiler, 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.
``
`PaymentForm(long id, TdApi.Invoice invoice, long sellerBotUserId, long paymentProviderUserId, TdApi.PaymentProvider paymentProvider, TdApi.PaymentOption[] additionalPaymentOptions, TdApi.OrderInfo savedOrderInfo, TdApi.SavedCredentials[] savedCredentials, boolean canSaveCredentials, boolean needPassword, String productTitle, TdApi.FormattedText productDescription, TdApi.Photo productPhoto)`
Contains information about an invoice payment form.
``
`PaymentReceipt(String title, TdApi.FormattedText description, TdApi.Photo photo, int date, long sellerBotUserId, long paymentProviderUserId, 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.
``
`StoryContentPhoto(TdApi.Photo photo)`
A photo story.
``
`WebApp(String shortName, String title, String description, TdApi.Photo photo, TdApi.Animation animation)`
Describes a Web App.
``
`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, boolean hasLargeMedia, boolean showLargeMedia, boolean skipConfirmation, boolean showAboveText, TdApi.Animation animation, TdApi.Audio audio, TdApi.Document document, TdApi.Sticker sticker, TdApi.Video video, TdApi.VideoNote videoNote, TdApi.VoiceNote voiceNote, long storySenderChatId, int storyId, int instantViewVersion)`
Describes a link preview.