<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<divclass="inheritance"><ahref="TdApi.Object.html"title="class in it.tdlight.jni">it.tdlight.jni.TdApi.Object</a>
<divclass="col-first even-row-color"><code><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></code></div>
<divclass="block">Point in time (Unix timestamp) when
the message was last edited.</div>
</div>
<divclass="col-first even-row-color"><code><ahref="TdApi.MessageForwardInfo.html"title="class in it.tdlight.jni">TdApi.MessageForwardInfo</a></code></div>
<divclass="block">Message identifier; unique for the
chat to which the message belongs.</div>
</div>
<divclass="col-first odd-row-color"><code><ahref="TdApi.MessageInteractionInfo.html"title="class in it.tdlight.jni">TdApi.MessageInteractionInfo</a></code></div>
<divclass="block">If non-zero, the identifier of the
message this message is replying to;
can be the identifier of a deleted message.</div>
</div>
<divclass="col-first even-row-color"><code><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></code></div>
<divclass="block">If non-empty, contains a human-readable
description of the reason why access
to this message must be restricted.</div>
</div>
<divclass="col-first odd-row-color"><code><ahref="TdApi.MessageSchedulingState.html"title="class in it.tdlight.jni">TdApi.MessageSchedulingState</a></code></div>
<divclass="block">Identifier of the sender of the message.</div>
</div>
<divclass="col-first odd-row-color"><code><ahref="TdApi.MessageSendingState.html"title="class in it.tdlight.jni">TdApi.MessageSendingState</a></code></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-last odd-row-color">
<divclass="block">Describes a message.</div>
</div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(java.io.DataInput)"class="member-name-link">Message</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/DataInput.html"title="class or interface in java.io"class="external-link">DataInput</a> input)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#equals(java.lang.Object)"class="member-name-link">equals</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a> o)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#serialize(java.io.DataOutput)"class="member-name-link">serialize</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/DataOutput.html"title="class or interface in java.io"class="external-link">DataOutput</a> output)</code></div>
<h3id="methods-inherited-from-class-it.tdlight.jni.TdApi.Object">Methods inherited from class it.tdlight.jni.<ahref="TdApi.Object.html"title="class in it.tdlight.jni">TdApi.Object</a></h3>
<h3id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
<divclass="block">Message identifier; unique for the
chat to which the message belongs.</div>
</section>
</li>
<li>
<sectionclass="detail"id="senderId">
<h3>senderId</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a></span> <spanclass="element-name">senderId</span></div>
<divclass="block">Identifier of the sender of the message.</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.MessageSendingState.html"title="class in it.tdlight.jni">TdApi.MessageSendingState</a></span> <spanclass="element-name">sendingState</span></div>
<divclass="block">The sending state of the message; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="schedulingState">
<h3>schedulingState</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.MessageSchedulingState.html"title="class in it.tdlight.jni">TdApi.MessageSchedulingState</a></span> <spanclass="element-name">schedulingState</span></div>
<divclass="block">The scheduling state of the message;
<divclass="block">Point in time (Unix timestamp) when
the message was last edited.</div>
</section>
</li>
<li>
<sectionclass="detail"id="forwardInfo">
<h3>forwardInfo</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.MessageForwardInfo.html"title="class in it.tdlight.jni">TdApi.MessageForwardInfo</a></span> <spanclass="element-name">forwardInfo</span></div>
<divclass="block">Information about the initial message
sender; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="interactionInfo">
<h3>interactionInfo</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.MessageInteractionInfo.html"title="class in it.tdlight.jni">TdApi.MessageInteractionInfo</a></span> <spanclass="element-name">interactionInfo</span></div>
<divclass="block">Information about interactions with
<divclass="block">If non-zero, the user identifier of
the bot through which this message was sent.</div>
</section>
</li>
<li>
<sectionclass="detail"id="authorSignature">
<h3>authorSignature</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="element-name">authorSignature</span></div>
<divclass="block">For channel posts and anonymous group
<divclass="block">Unique identifier of an album this
message belongs to. Only audios,
documents, photos and videos can be
grouped together in albums.</div>
</section>
</li>
<li>
<sectionclass="detail"id="restrictionReason">
<h3>restrictionReason</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="element-name">restrictionReason</span></div>
<divclass="block">If non-empty, contains a human-readable
description of the reason why access
to this message must be restricted.</div>
</section>
</li>
<li>
<sectionclass="detail"id="content">
<h3>content</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.MessageContent.html"title="class in it.tdlight.jni">TdApi.MessageContent</a></span> <spanclass="element-name">content</span></div>
<divclass="block">Content of the message.</div>
</section>
</li>
<li>
<sectionclass="detail"id="replyMarkup">
<h3>replyMarkup</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.ReplyMarkup.html"title="class in it.tdlight.jni">TdApi.ReplyMarkup</a></span> <spanclass="element-name">replyMarkup</span></div>
<divclass="block">Reply markup for the message; may be null.</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)</span></div>
<divclass="block">Describes a message.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>id</code> - long Message identifier; unique for the
chat to which the message belongs.</dd>
<dd><code>senderId</code> - MessageSender Identifier of the sender of the message.</dd>
<dd><code>chatId</code> - long Chat identifier.</dd>
<dd><code>sendingState</code> - MessageSendingState The sending state of the message; may be null.</dd>
<dd><code>schedulingState</code> - MessageSchedulingState The scheduling state of the message;
may be null.</dd>
<dd><code>isOutgoing</code> - boolean True, if the message is outgoing.</dd>
<dd><code>isPinned</code> - boolean True, if the message is pinned.</dd>
<dd><code>canBeEdited</code> - boolean True, if the message can be edited.
For live location and poll messages
this fields shows whether
editMessageLiveLocation or stopPoll
can be used with this message by the application.</dd>
<dd><code>canBeForwarded</code> - boolean True, if the message can be forwarded.</dd>
<dd><code>canBeSaved</code> - boolean True, if content of the message can
be saved locally or copied.</dd>
<dd><code>canBeDeletedOnlyForSelf</code> - boolean True, if the message can be deleted
only for the current user while other
users will continue to see it.</dd>
<dd><code>canBeDeletedForAllUsers</code> - boolean True, if the message can be deleted
for all users.</dd>
<dd><code>canGetStatistics</code> - boolean True, if the message statistics are available.</dd>
<dd><code>canGetMessageThread</code> - boolean True, if the message thread info is available.</dd>
<dd><code>canGetViewers</code> - boolean True, if chat members already viewed
the message can be received through getMessageViewers.</dd>
<dd><code>canGetMediaTimestampLinks</code> - boolean True, if media timestamp links can be
generated for media timestamp entities
in the message text, caption or web page description.</dd>
<dd><code>hasTimestampedMedia</code> - boolean True, if media timestamp entities
refers to a media in this message as
opposed to a media in the replied message.</dd>
<dd><code>isChannelPost</code> - boolean True, if the message is a channel
post. All messages to channels are
channel posts, all other messages are
not channel posts.</dd>
<dd><code>containsUnreadMention</code> - boolean True, if the message contains an unread
mention for the current user.</dd>
<dd><code>date</code> - int Point in time (Unix timestamp) when
the message was sent.</dd>
<dd><code>editDate</code> - int Point in time (Unix timestamp) when
the message was last edited.</dd>
<dd><code>forwardInfo</code> - MessageForwardInfo Information about the initial message
sender; may be null.</dd>
<dd><code>interactionInfo</code> - MessageInteractionInfo Information about interactions with
the message; may be null.</dd>
<dd><code>replyInChatId</code> - long If non-zero, the identifier of the
chat to which the replied message
belongs; Currently, only messages in
the Replies chat can have different
replyInChatId and chatId.</dd>
<dd><code>replyToMessageId</code> - long If non-zero, the identifier of the
message this message is replying to;
can be the identifier of a deleted message.</dd>
<dd><code>messageThreadId</code> - long If non-zero, the identifier of the
message thread the message belongs
to; unique within the chat to which
the message belongs.</dd>
<dd><code>ttl</code> - int For self-destructing messages, the
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">Message</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/DataInput.html"title="class or interface in java.io"class="external-link">DataInput</a> input)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<divclass="block">Describes a message.</div>
<dlclass="notes">
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></code></dd>
<dd><code><ahref="TdApi.Object.html#getConstructor()">getConstructor</a></code> in class <code><ahref="TdApi.Object.html"title="class in it.tdlight.jni">TdApi.Object</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">void</span> <spanclass="element-name">serialize</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/DataOutput.html"title="class or interface in java.io"class="external-link">DataOutput</a> output)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="TdApi.Object.html#serialize(java.io.DataOutput)">serialize</a></code> in class <code><ahref="TdApi.Object.html"title="class in it.tdlight.jni">TdApi.Object</a></code></dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">boolean</span> <spanclass="element-name">equals</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a> o)</span></div>
<dlclass="notes">
<dt>Overrides:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a></code> in class <code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></code></dd>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a></code> in class <code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></code></dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footerrole="contentinfo">
<hr>
<pclass="legal-copy"><small>Copyright © 2021. All rights reserved.</small></p>