<h1title="Uses of Class it.tdlight.jni.TdApi.Photo"class="title">Uses of Class<br>it.tdlight.jni.TdApi.Photo</h1>
</div>
<sectionclass="class-uses">
<ulclass="block-list">
<li>
<sectionclass="detail"id="it.tdlight.jni">
<h2>Uses of <ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> in <ahref="../package-summary.html">it.tdlight.jni</a></h2>
<divclass="caption"><span>Fields in <ahref="../package-summary.html">it.tdlight.jni</a> declared as <ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="block">Product photo; may be null.</div>
</div>
</div>
<divclass="caption"><span>Constructors in <ahref="../package-summary.html">it.tdlight.jni</a> with parameters of type <ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a></span></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.BotInfo.html#%3Cinit%3E(java.lang.String,java.lang.String,it.tdlight.jni.TdApi.Photo,it.tdlight.jni.TdApi.Animation,it.tdlight.jni.TdApi.BotMenuButton,it.tdlight.jni.TdApi.BotCommand%5B%5D,it.tdlight.jni.TdApi.ChatAdministratorRights,it.tdlight.jni.TdApi.ChatAdministratorRights,it.tdlight.jni.TdApi.InternalLinkType,it.tdlight.jni.TdApi.InternalLinkType,it.tdlight.jni.TdApi.InternalLinkType,it.tdlight.jni.TdApi.InternalLinkType)"class="member-name-link">BotInfo</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> shortDescription,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> description,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="../TdApi.Animation.html"title="class in it.tdlight.jni">TdApi.Animation</a> animation,
<ahref="../TdApi.BotMenuButton.html"title="class in it.tdlight.jni">TdApi.BotMenuButton</a> menuButton,
<ahref="../TdApi.BotCommand.html"title="class in it.tdlight.jni">TdApi.BotCommand</a>[] commands,
<ahref="../TdApi.ChatAdministratorRights.html"title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a> defaultGroupAdministratorRights,
<ahref="../TdApi.ChatAdministratorRights.html"title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a> defaultChannelAdministratorRights,
<ahref="../TdApi.InternalLinkType.html"title="class in it.tdlight.jni">TdApi.InternalLinkType</a> editCommandsLink,
<ahref="../TdApi.InternalLinkType.html"title="class in it.tdlight.jni">TdApi.InternalLinkType</a> editDescriptionLink,
<ahref="../TdApi.InternalLinkType.html"title="class in it.tdlight.jni">TdApi.InternalLinkType</a> editDescriptionMediaLink,
<ahref="../TdApi.InternalLinkType.html"title="class in it.tdlight.jni">TdApi.InternalLinkType</a> editSettingsLink)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Contains information about a bot.</div>
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> shortName,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> description,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="../TdApi.Animation.html"title="class in it.tdlight.jni">TdApi.Animation</a> animation)</code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.InlineQueryResultPhoto.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.Photo,java.lang.String,java.lang.String)"class="member-name-link">InlineQueryResultPhoto</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> id,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> description)</code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageExtendedMediaPhoto.html#%3Cinit%3E(it.tdlight.jni.TdApi.Photo,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">MessageExtendedMediaPhoto</a><wbr>(<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageInvoice.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.FormattedText,it.tdlight.jni.TdApi.Photo,java.lang.String,long,java.lang.String,boolean,boolean,long,it.tdlight.jni.TdApi.MessageExtendedMedia)"class="member-name-link">MessageInvoice</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> description,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> currency,
long totalAmount,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> startParameter,
boolean isTest,
boolean needShippingAddress,
long receiptMessageId,
<ahref="../TdApi.MessageExtendedMedia.html"title="class in it.tdlight.jni">TdApi.MessageExtendedMedia</a> extendedMedia)</code></div>
<divclass="col-last even-row-color">
<divclass="block">A message with an invoice from a bot.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessagePhoto.html#%3Cinit%3E(it.tdlight.jni.TdApi.Photo,it.tdlight.jni.TdApi.FormattedText,boolean,boolean)"class="member-name-link">MessagePhoto</a><wbr>(<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption,
<divclass="col-second even-row-color"><code><ahref="../TdApi.PageBlockEmbedded.html#%3Cinit%3E(java.lang.String,java.lang.String,it.tdlight.jni.TdApi.Photo,int,int,it.tdlight.jni.TdApi.PageBlockCaption,boolean,boolean)"class="member-name-link">PageBlockEmbedded</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> url,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> html,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> posterPhoto,
int width,
int height,
<ahref="../TdApi.PageBlockCaption.html"title="class in it.tdlight.jni">TdApi.PageBlockCaption</a> caption,
<divclass="col-second odd-row-color"><code><ahref="../TdApi.PageBlockEmbeddedPost.html#%3Cinit%3E(java.lang.String,java.lang.String,it.tdlight.jni.TdApi.Photo,int,it.tdlight.jni.TdApi.PageBlock%5B%5D,it.tdlight.jni.TdApi.PageBlockCaption)"class="member-name-link">PageBlockEmbeddedPost</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> url,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> author,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> authorPhoto,
int date,
<ahref="../TdApi.PageBlock.html"title="class in it.tdlight.jni">TdApi.PageBlock</a>[] pageBlocks,
<ahref="../TdApi.PageBlockCaption.html"title="class in it.tdlight.jni">TdApi.PageBlockCaption</a> caption)</code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.PageBlockPhoto.html#%3Cinit%3E(it.tdlight.jni.TdApi.Photo,it.tdlight.jni.TdApi.PageBlockCaption,java.lang.String)"class="member-name-link">PageBlockPhoto</a><wbr>(<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="../TdApi.PageBlockCaption.html"title="class in it.tdlight.jni">TdApi.PageBlockCaption</a> caption,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> url)</code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.PageBlockRelatedArticle.html#%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,it.tdlight.jni.TdApi.Photo,java.lang.String,int)"class="member-name-link">PageBlockRelatedArticle</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> url,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> description,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> author,
int publishDate)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Contains information about a related article.</div>
<ahref="../TdApi.Invoice.html"title="class in it.tdlight.jni">TdApi.Invoice</a> invoice,
long sellerBotUserId,
long paymentProviderUserId,
<ahref="../TdApi.PaymentProvider.html"title="class in it.tdlight.jni">TdApi.PaymentProvider</a> paymentProvider,
<ahref="../TdApi.PaymentOption.html"title="class in it.tdlight.jni">TdApi.PaymentOption</a>[] additionalPaymentOptions,
<ahref="../TdApi.OrderInfo.html"title="class in it.tdlight.jni">TdApi.OrderInfo</a> savedOrderInfo,
<ahref="../TdApi.SavedCredentials.html"title="class in it.tdlight.jni">TdApi.SavedCredentials</a>[] savedCredentials,
boolean canSaveCredentials,
boolean needPassword,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> productTitle,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> productDescription,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> productPhoto)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Contains information about an invoice payment form.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.PaymentReceipt.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.FormattedText,it.tdlight.jni.TdApi.Photo,int,long,long,it.tdlight.jni.TdApi.Invoice,it.tdlight.jni.TdApi.OrderInfo,it.tdlight.jni.TdApi.ShippingOption,java.lang.String,long)"class="member-name-link">PaymentReceipt</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> description,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
int date,
long sellerBotUserId,
long paymentProviderUserId,
<ahref="../TdApi.Invoice.html"title="class in it.tdlight.jni">TdApi.Invoice</a> invoice,
<ahref="../TdApi.OrderInfo.html"title="class in it.tdlight.jni">TdApi.OrderInfo</a> orderInfo,
<ahref="../TdApi.ShippingOption.html"title="class in it.tdlight.jni">TdApi.ShippingOption</a> shippingOption,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> credentialsTitle,
long tipAmount)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Contains information about a successful payment.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.PushMessageContentPhoto.html#%3Cinit%3E(it.tdlight.jni.TdApi.Photo,java.lang.String,boolean,boolean)"class="member-name-link">PushMessageContentPhoto</a><wbr>(<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> caption,
<divclass="col-second odd-row-color"><code><ahref="../TdApi.StoryContentPhoto.html#%3Cinit%3E(it.tdlight.jni.TdApi.Photo)"class="member-name-link">StoryContentPhoto</a><wbr>(<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo)</code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.WebApp.html#%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,it.tdlight.jni.TdApi.Photo,it.tdlight.jni.TdApi.Animation)"class="member-name-link">WebApp</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> shortName,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> description,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="../TdApi.Animation.html"title="class in it.tdlight.jni">TdApi.Animation</a> animation)</code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.WebPage.html#%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,it.tdlight.jni.TdApi.FormattedText,it.tdlight.jni.TdApi.Photo,java.lang.String,java.lang.String,int,int,int,java.lang.String,it.tdlight.jni.TdApi.Animation,it.tdlight.jni.TdApi.Audio,it.tdlight.jni.TdApi.Document,it.tdlight.jni.TdApi.Sticker,it.tdlight.jni.TdApi.Video,it.tdlight.jni.TdApi.VideoNote,it.tdlight.jni.TdApi.VoiceNote,long,int,int)"class="member-name-link">WebPage</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> url,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> displayUrl,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> type,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> siteName,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> description,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> embedUrl,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> embedType,
int embedWidth,
int embedHeight,
int duration,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> author,
<ahref="../TdApi.Animation.html"title="class in it.tdlight.jni">TdApi.Animation</a> animation,
<ahref="../TdApi.Audio.html"title="class in it.tdlight.jni">TdApi.Audio</a> audio,
<ahref="../TdApi.Document.html"title="class in it.tdlight.jni">TdApi.Document</a> document,
<ahref="../TdApi.Sticker.html"title="class in it.tdlight.jni">TdApi.Sticker</a> sticker,
<ahref="../TdApi.Video.html"title="class in it.tdlight.jni">TdApi.Video</a> video,
<ahref="../TdApi.VideoNote.html"title="class in it.tdlight.jni">TdApi.VideoNote</a> videoNote,
<ahref="../TdApi.VoiceNote.html"title="class in it.tdlight.jni">TdApi.VoiceNote</a> voiceNote,