<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.MessageCall.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageCall</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A message with information about an ended call.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-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 odd-row-color">
<divclass="block">New chat members were added.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-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 even-row-color">
<divclass="block">An updated 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.MessageChatChangeTitle.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatChangeTitle</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">An updated chat title.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-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 even-row-color">
<divclass="block">A chat member was deleted.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-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 odd-row-color">
<divclass="block">A deleted 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.MessageChatJoinByLink.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatJoinByLink</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A new member joined the chat by invite link.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-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 odd-row-color">
<divclass="block">A new member was accepted to the chat
by an administrator.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-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 even-row-color">
<divclass="block">A theme 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.MessageChatSetTtl.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatSetTtl</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">The TTL (Time To Live) setting for
messages 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.MessageChatUpgradeFrom.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageChatUpgradeFrom</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A supergroup has been created from a basic group.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-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 odd-row-color">
<divclass="block">A basic group was upgraded to a
supergroup and was deactivated as the result.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-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 even-row-color">
<divclass="block">A message with a user contact.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-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 odd-row-color">
<divclass="block">A contact has registered with Telegram.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-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 even-row-color">
<divclass="block">A non-standard action has happened in the chat.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-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 odd-row-color">
<divclass="block">A dice message.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-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 odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-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 even-row-color"><code>static final class </code></div>
<divclass="col-second even-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 even-row-color">
<divclass="block">An expired video message (self-destructed
after TTL has elapsed).</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-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 odd-row-color">
<divclass="block">A message with 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.MessageGameScore.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageGameScore</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A new high score was achieved in 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.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.</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.MessageSupergroupChatCreate.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageSupergroupChatCreate</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A newly created supergroup or channel.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </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-last odd-row-color">
<divclass="block">A text message.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </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-last even-row-color">
<divclass="block">Message content that is not supported
in the current TDLib version.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageVenue.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVenue</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A message with information about a venue.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageVideo.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVideo</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A video message.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageVideoChatEnded.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVideoChatEnded</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A message with information about an
ended 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.MessageVideoChatScheduled.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVideoChatScheduled</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A new video chat was scheduled.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageVideoChatStarted.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVideoChatStarted</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A newly created 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.MessageVideoNote.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVideoNote</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A video note message.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageVoiceNote.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageVoiceNote</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A voice note message.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageWebsiteConnected.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageWebsiteConnected</a></code></div>
<divclass="col-last even-row-color">
<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="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> senderId,
long chatId,
<ahref="../TdApi.MessageSendingState.html"title="class in it.tdlight.jni">TdApi.MessageSendingState</a> sendingState,
<ahref="../TdApi.MessageSchedulingState.html"title="class in it.tdlight.jni">TdApi.MessageSchedulingState</a> schedulingState,
boolean isOutgoing,
boolean isPinned,
boolean canBeEdited,
boolean canBeForwarded,
boolean canBeSaved,
boolean canBeDeletedOnlyForSelf,
boolean canBeDeletedForAllUsers,
boolean canGetStatistics,
boolean canGetMessageThread,
boolean canGetViewers,
boolean canGetMediaTimestampLinks,
boolean hasTimestampedMedia,
boolean isChannelPost,
boolean containsUnreadMention,
int date,
int editDate,
<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,
long viaBotUserId,
<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>
<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 © 2021. All rights reserved.</small></p>