<h1title="Uses of Class it.tdlight.jni.TdApi.MessageContent"class="title">Uses of Class<br>it.tdlight.jni.TdApi.MessageContent</h1>
</div>
<sectionclass="class-uses">
<ulclass="block-list">
<li>
<sectionclass="detail"id="it.tdlight.jni">
<h2>Uses of <ahref="../TdApi.MessageContent.html"title="class in it.tdlight.jni">TdApi.MessageContent</a> in <ahref="../package-summary.html">it.tdlight.jni</a></h2>
<divclass="caption"><span>Subclasses of <ahref="../TdApi.MessageContent.html"title="class in it.tdlight.jni">TdApi.MessageContent</a> in <ahref="../package-summary.html">it.tdlight.jni</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageAnimatedEmoji.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageAnimatedEmoji</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A message with an animated emoji.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageAnimation.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageAnimation</a></code></div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageAudio.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageAudio</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">An audio message.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageBasicGroupChatCreate.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageBasicGroupChatCreate</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A newly created basic group.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageBotWriteAccessAllowed.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageBotWriteAccessAllowed</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">The user allowed the bot to send messages.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageCall.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageCall</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A message with information about an ended call.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageChatAddMembers.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatAddMembers</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">New chat members were added.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageChatChangePhoto.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatChangePhoto</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">An updated chat photo.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageChatChangeTitle.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatChangeTitle</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">An updated chat title.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageChatDeleteMember.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatDeleteMember</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A chat member was deleted.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageChatDeletePhoto.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatDeletePhoto</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A deleted chat photo.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageChatJoinByLink.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatJoinByLink</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A new member joined the chat via an invite link.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageChatJoinByRequest.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatJoinByRequest</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A new member was accepted to the chat by an administrator.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageChatSetBackground.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatSetBackground</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A new background was set in the chat.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageChatSetMessageAutoDeleteTime.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatSetMessageAutoDeleteTime</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">The auto-delete or self-destruct timer for messages in the chat has
been changed.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageChatSetTheme.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatSetTheme</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A theme in the chat has been changed.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageChatShared.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatShared</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">The current user shared a chat, which was requested by the bot.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageChatUpgradeFrom.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatUpgradeFrom</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A supergroup has been created from a basic group.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageChatUpgradeTo.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatUpgradeTo</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A basic group was upgraded to a supergroup and was deactivated as the
result.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageContact.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageContact</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A message with a user contact.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageContactRegistered.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageContactRegistered</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A contact has registered with Telegram.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageCustomServiceAction.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageCustomServiceAction</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A non-standard action has happened in the chat.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageDice.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageDice</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A dice message.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageDocument.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageDocument</a></code></div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageExpiredPhoto.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageExpiredPhoto</a></code></div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageExpiredVideo.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageExpiredVideo</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A self-destructed video message.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageForumTopicCreated.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageForumTopicCreated</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A forum topic has been created.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageForumTopicEdited.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageForumTopicEdited</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A forum topic has been edited.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageForumTopicIsClosedToggled.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageForumTopicIsClosedToggled</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A forum topic has been closed or opened.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageForumTopicIsHiddenToggled.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageForumTopicIsHiddenToggled</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A General forum topic has been hidden or unhidden.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageGame.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageGame</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A message with a game.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageGameScore.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageGameScore</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A new high score was achieved in a game.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageGiftedPremium.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageGiftedPremium</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">Telegram Premium was gifted to the user.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageInviteVideoChatParticipants.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageInviteVideoChatParticipants</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A message with information about an invite to a video chat.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageInvoice.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageInvoice</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A message with an invoice from a bot.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageLocation.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageLocation</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A message with a location.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessagePassportDataReceived.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessagePassportDataReceived</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">Telegram Passport data has been received; for bots only.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessagePassportDataSent.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessagePassportDataSent</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">Telegram Passport data has been sent to a bot.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessagePaymentSuccessful.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessagePaymentSuccessful</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A payment has been completed.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessagePaymentSuccessfulBot.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessagePaymentSuccessfulBot</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A payment has been completed; for bots only.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessagePhoto.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessagePhoto</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A photo message.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessagePinMessage.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessagePinMessage</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A message has been pinned.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessagePoll.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessagePoll</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A message with a poll.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageProximityAlertTriggered.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageProximityAlertTriggered</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A user in the chat came within proximity alert range.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageScreenshotTaken.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageScreenshotTaken</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A screenshot of a message in the chat has been taken.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageSticker.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageSticker</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A sticker message.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageStory.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageStory</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageSuggestProfilePhoto.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageSuggestProfilePhoto</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageSupergroupChatCreate.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageSupergroupChatCreate</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageText.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageText</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageUnsupported.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageUnsupported</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageUserShared.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageUserShared</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageVenue.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVenue</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageVideo.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVideo</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageVideoChatEnded.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVideoChatEnded</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageVideoChatScheduled.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVideoChatScheduled</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageVideoChatStarted.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVideoChatStarted</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageVideoNote.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVideoNote</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageVoiceNote.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVoiceNote</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageWebAppDataReceived.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageWebAppDataReceived</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageWebAppDataSent.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageWebAppDataSent</a></code></div>
<divclass="block">Data from a Web App has been sent to a bot.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageWebsiteConnected.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageWebsiteConnected</a></code></div>
<divclass="block">The current user has connected a website by logging in using Telegram
Login Widget on it.</div>
</div>
</div>
<divclass="caption"><span>Fields in <ahref="../package-summary.html">it.tdlight.jni</a> declared as <ahref="../TdApi.MessageContent.html"title="class in it.tdlight.jni">TdApi.MessageContent</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="caption"><span>Constructors in <ahref="../package-summary.html">it.tdlight.jni</a> with parameters of type <ahref="../TdApi.MessageContent.html"title="class in it.tdlight.jni">TdApi.MessageContent</a></span></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> authorSignature,
long mediaAlbumId,
<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> restrictionReason,
<ahref="../TdApi.MessageContent.html"title="class in it.tdlight.jni">TdApi.MessageContent</a> content,
<ahref="../TdApi.ReplyMarkup.html"title="class in it.tdlight.jni">TdApi.ReplyMarkup</a> replyMarkup)</code></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> additionalInfo)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Describes a sponsored message.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.UpdateServiceNotification.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.MessageContent)"class="member-name-link">UpdateServiceNotification</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> type,
<ahref="../TdApi.MessageContent.html"title="class in it.tdlight.jni">TdApi.MessageContent</a> content)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">A service notification from the server was received.</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
<footerrole="contentinfo">
<hr>
<pclass="legal-copy"><small>Copyright © 2023. All rights reserved.</small></p>