<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="use-summary">
<tableclass="summary-table">
<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></caption>
<thead>
<tr>
<thclass="col-first"scope="col">Modifier and Type</th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageAnimation.html"title="class in it.tdlight.jni">TdApi.MessageAnimation</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageAudio.html"title="class in it.tdlight.jni">TdApi.MessageAudio</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageBasicGroupChatCreate.html"title="class in it.tdlight.jni">TdApi.MessageBasicGroupChatCreate</a></span></code></th>
<tdclass="col-last">
<divclass="block">A newly created basic group.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageCall.html"title="class in it.tdlight.jni">TdApi.MessageCall</a></span></code></th>
<tdclass="col-last">
<divclass="block">A message with information about an ended call.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageChatAddMembers.html"title="class in it.tdlight.jni">TdApi.MessageChatAddMembers</a></span></code></th>
<tdclass="col-last">
<divclass="block">New chat members were added.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageChatChangePhoto.html"title="class in it.tdlight.jni">TdApi.MessageChatChangePhoto</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageChatChangeTitle.html"title="class in it.tdlight.jni">TdApi.MessageChatChangeTitle</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageChatDeleteMember.html"title="class in it.tdlight.jni">TdApi.MessageChatDeleteMember</a></span></code></th>
<tdclass="col-last">
<divclass="block">A chat member was deleted.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageChatDeletePhoto.html"title="class in it.tdlight.jni">TdApi.MessageChatDeletePhoto</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageChatJoinByLink.html"title="class in it.tdlight.jni">TdApi.MessageChatJoinByLink</a></span></code></th>
<tdclass="col-last">
<divclass="block">A new member joined the chat by invite link.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageChatSetTheme.html"title="class in it.tdlight.jni">TdApi.MessageChatSetTheme</a></span></code></th>
<tdclass="col-last">
<divclass="block">A theme in the chat has been changed.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageChatSetTtl.html"title="class in it.tdlight.jni">TdApi.MessageChatSetTtl</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageChatUpgradeFrom.html"title="class in it.tdlight.jni">TdApi.MessageChatUpgradeFrom</a></span></code></th>
<tdclass="col-last">
<divclass="block">A supergroup has been created from a basic group.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageChatUpgradeTo.html"title="class in it.tdlight.jni">TdApi.MessageChatUpgradeTo</a></span></code></th>
<tdclass="col-last">
<divclass="block">A basic group was upgraded to a
supergroup and was deactivated as the result.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageContact.html"title="class in it.tdlight.jni">TdApi.MessageContact</a></span></code></th>
<tdclass="col-last">
<divclass="block">A message with a user contact.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageContactRegistered.html"title="class in it.tdlight.jni">TdApi.MessageContactRegistered</a></span></code></th>
<tdclass="col-last">
<divclass="block">A contact has registered with Telegram.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageCustomServiceAction.html"title="class in it.tdlight.jni">TdApi.MessageCustomServiceAction</a></span></code></th>
<tdclass="col-last">
<divclass="block">A non-standard action has happened in the chat.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageDice.html"title="class in it.tdlight.jni">TdApi.MessageDice</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageDocument.html"title="class in it.tdlight.jni">TdApi.MessageDocument</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageExpiredPhoto.html"title="class in it.tdlight.jni">TdApi.MessageExpiredPhoto</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageExpiredVideo.html"title="class in it.tdlight.jni">TdApi.MessageExpiredVideo</a></span></code></th>
<tdclass="col-last">
<divclass="block">An expired video message (self-destructed
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageGame.html"title="class in it.tdlight.jni">TdApi.MessageGame</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageGameScore.html"title="class in it.tdlight.jni">TdApi.MessageGameScore</a></span></code></th>
<tdclass="col-last">
<divclass="block">A new high score was achieved in a game.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageInviteVoiceChatParticipants.html"title="class in it.tdlight.jni">TdApi.MessageInviteVoiceChatParticipants</a></span></code></th>
<tdclass="col-last">
<divclass="block">A message with information about an
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageInvoice.html"title="class in it.tdlight.jni">TdApi.MessageInvoice</a></span></code></th>
<tdclass="col-last">
<divclass="block">A message with an invoice from a bot.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageLocation.html"title="class in it.tdlight.jni">TdApi.MessageLocation</a></span></code></th>
<tdclass="col-last">
<divclass="block">A message with a location.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessagePassportDataReceived.html"title="class in it.tdlight.jni">TdApi.MessagePassportDataReceived</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessagePassportDataSent.html"title="class in it.tdlight.jni">TdApi.MessagePassportDataSent</a></span></code></th>
<tdclass="col-last">
<divclass="block">Telegram Passport data has been sent.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessagePaymentSuccessful.html"title="class in it.tdlight.jni">TdApi.MessagePaymentSuccessful</a></span></code></th>
<tdclass="col-last">
<divclass="block">A payment has been completed.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessagePaymentSuccessfulBot.html"title="class in it.tdlight.jni">TdApi.MessagePaymentSuccessfulBot</a></span></code></th>
<tdclass="col-last">
<divclass="block">A payment has been completed; for bots only.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessagePhoto.html"title="class in it.tdlight.jni">TdApi.MessagePhoto</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessagePinMessage.html"title="class in it.tdlight.jni">TdApi.MessagePinMessage</a></span></code></th>
<tdclass="col-last">
<divclass="block">A message has been pinned.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessagePoll.html"title="class in it.tdlight.jni">TdApi.MessagePoll</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageProximityAlertTriggered.html"title="class in it.tdlight.jni">TdApi.MessageProximityAlertTriggered</a></span></code></th>
<tdclass="col-last">
<divclass="block">A user in the chat came within proximity alert range.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageScreenshotTaken.html"title="class in it.tdlight.jni">TdApi.MessageScreenshotTaken</a></span></code></th>
<tdclass="col-last">
<divclass="block">A screenshot of a message in the chat
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageSticker.html"title="class in it.tdlight.jni">TdApi.MessageSticker</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageSupergroupChatCreate.html"title="class in it.tdlight.jni">TdApi.MessageSupergroupChatCreate</a></span></code></th>
<tdclass="col-last">
<divclass="block">A newly created supergroup or channel.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageText.html"title="class in it.tdlight.jni">TdApi.MessageText</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageUnsupported.html"title="class in it.tdlight.jni">TdApi.MessageUnsupported</a></span></code></th>
<tdclass="col-last">
<divclass="block">Message content that is not supported
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageVenue.html"title="class in it.tdlight.jni">TdApi.MessageVenue</a></span></code></th>
<tdclass="col-last">
<divclass="block">A message with information about a venue.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageVideo.html"title="class in it.tdlight.jni">TdApi.MessageVideo</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageVideoNote.html"title="class in it.tdlight.jni">TdApi.MessageVideoNote</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageVoiceChatEnded.html"title="class in it.tdlight.jni">TdApi.MessageVoiceChatEnded</a></span></code></th>
<tdclass="col-last">
<divclass="block">A message with information about an
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageVoiceChatScheduled.html"title="class in it.tdlight.jni">TdApi.MessageVoiceChatScheduled</a></span></code></th>
<tdclass="col-last">
<divclass="block">A new voice chat was scheduled.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageVoiceChatStarted.html"title="class in it.tdlight.jni">TdApi.MessageVoiceChatStarted</a></span></code></th>
<tdclass="col-last">
<divclass="block">A newly created voice chat.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageVoiceNote.html"title="class in it.tdlight.jni">TdApi.MessageVoiceNote</a></span></code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageWebsiteConnected.html"title="class in it.tdlight.jni">TdApi.MessageWebsiteConnected</a></span></code></th>
<tdclass="col-last">
<divclass="block">The current user has connected a
website by logging in using Telegram
Login Widget on it.</div>
</td>
</tr>
</tbody>
</table>
</div>
<divclass="use-summary">
<tableclass="summary-table">
<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></caption>
<thead>
<tr>
<thclass="col-first"scope="col">Modifier and Type</th>
<thclass="col-second"scope="col">Field</th>
<thclass="col-last"scope="col">Description</th>
</tr>
</thead>
<tbody>
<trclass="alt-color">
<tdclass="col-first"><code><ahref="../TdApi.MessageContent.html"title="class in it.tdlight.jni">TdApi.MessageContent</a></code></td>
<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></caption>
<ahref="../TdApi.MessageForwardInfo.html"title="class in it.tdlight.jni">TdApi.MessageForwardInfo</a> forwardInfo,
<ahref="../TdApi.MessageInteractionInfo.html"title="class in it.tdlight.jni">TdApi.MessageInteractionInfo</a> interactionInfo,
long replyInChatId,
long replyToMessageId,
long messageThreadId,
int ttl,
double ttlExpiresIn,
int viaBotUserId,
<ahref="https://docs.oracle.com/en/java/javase/13/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/13/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></th>
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> startParameter,
<ahref="../TdApi.MessageContent.html"title="class in it.tdlight.jni">TdApi.MessageContent</a> content)</code></th>
<tdclass="col-last">
<divclass="block">Describes a sponsored message.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.UpdateServiceNotification.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.MessageContent)">UpdateServiceNotification</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/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></th>
<tdclass="col-last">
<divclass="block">Service notification from the server.</div>