<h1title="Uses of Class it.tdlight.jni.TdApi.Message"class="title">Uses of Class<br>it.tdlight.jni.TdApi.Message</h1>
</div>
<sectionclass="class-uses">
<ulclass="block-list">
<li>
<sectionclass="detail"id="it.tdlight.jni">
<h2>Uses of <ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> in <ahref="../package-summary.html">it.tdlight.jni</a></h2>
<divclass="use-summary">
<tableclass="summary-table">
<caption><span>Fields in <ahref="../package-summary.html">it.tdlight.jni</a> declared as <ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</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.Message.html"title="class in it.tdlight.jni">TdApi.Message</a></code></td>
<divclass="block">The original message before the edit.</div>
</td>
</tr>
</tbody>
</table>
</div>
<divclass="use-summary">
<tableclass="summary-table">
<caption><span>Constructors in <ahref="../package-summary.html">it.tdlight.jni</a> with parameters of type <ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a></span></caption>
<ahref="../TdApi.ChatType.html"title="class in it.tdlight.jni">TdApi.ChatType</a> type,
<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> title,
<ahref="../TdApi.ChatPhotoInfo.html"title="class in it.tdlight.jni">TdApi.ChatPhotoInfo</a> photo,
<ahref="../TdApi.ChatPermissions.html"title="class in it.tdlight.jni">TdApi.ChatPermissions</a> permissions,
<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> lastMessage,
<ahref="../TdApi.ChatPosition.html"title="class in it.tdlight.jni">TdApi.ChatPosition</a>[] positions,
boolean isMarkedAsUnread,
boolean isBlocked,
boolean hasScheduledMessages,
boolean canBeDeletedOnlyForSelf,
boolean canBeDeletedForAllUsers,
boolean canBeReported,
boolean defaultDisableNotification,
int unreadCount,
long lastReadInboxMessageId,
long lastReadOutboxMessageId,
int unreadMentionCount,
<ahref="../TdApi.ChatNotificationSettings.html"title="class in it.tdlight.jni">TdApi.ChatNotificationSettings</a> notificationSettings,
<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> themeName,
<ahref="../TdApi.DraftMessage.html"title="class in it.tdlight.jni">TdApi.DraftMessage</a> draftMessage,
<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> clientData)</code></th>
<tdclass="col-last">
<divclass="block">A chat.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ChatEventMessageDeleted.html#%3Cinit%3E(it.tdlight.jni.TdApi.Message)">ChatEventMessageDeleted</a></span>​(<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> message)</code></th>
<tdclass="col-last">
<divclass="block">A message was deleted.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ChatEventMessageEdited.html#%3Cinit%3E(it.tdlight.jni.TdApi.Message,it.tdlight.jni.TdApi.Message)">ChatEventMessageEdited</a></span>​(<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> oldMessage,
<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> newMessage)</code></th>
<tdclass="col-last">
<divclass="block">A message was edited.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ChatEventMessagePinned.html#%3Cinit%3E(it.tdlight.jni.TdApi.Message)">ChatEventMessagePinned</a></span>​(<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> message)</code></th>
<tdclass="col-last">
<divclass="block">A message was pinned.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ChatEventMessageUnpinned.html#%3Cinit%3E(it.tdlight.jni.TdApi.Message)">ChatEventMessageUnpinned</a></span>​(<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> message)</code></th>
<tdclass="col-last">
<divclass="block">A message was unpinned.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ChatEventPollStopped.html#%3Cinit%3E(it.tdlight.jni.TdApi.Message)">ChatEventPollStopped</a></span>​(<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> message)</code></th>
<tdclass="col-last">
<divclass="block">A poll in a message was stopped.</div>
<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a>[] messages,
<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> nextOffset)</code></th>
<tdclass="col-last">
<divclass="block">Contains a list of messages found by a search.</div>
<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a>[] messages,
<ahref="../TdApi.DraftMessage.html"title="class in it.tdlight.jni">TdApi.DraftMessage</a> draftMessage)</code></th>
<tdclass="col-last">
<divclass="block">Contains information about a message thread.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.NotificationTypeNewMessage.html#%3Cinit%3E(it.tdlight.jni.TdApi.Message)">NotificationTypeNewMessage</a></span>​(<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> message)</code></th>
<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> lastMessage,
<ahref="../TdApi.ChatPosition.html"title="class in it.tdlight.jni">TdApi.ChatPosition</a>[] positions)</code></th>
<tdclass="col-last">
<divclass="block">The last message of a chat was changed.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.UpdateMessageSendFailed.html#%3Cinit%3E(it.tdlight.jni.TdApi.Message,long,int,java.lang.String)">UpdateMessageSendFailed</a></span>​(<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> message,
long oldMessageId,
int errorCode,
<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> errorMessage)</code></th>
<tdclass="col-last">
<divclass="block">A message failed to send.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.UpdateMessageSendSucceeded.html#%3Cinit%3E(it.tdlight.jni.TdApi.Message,long)">UpdateMessageSendSucceeded</a></span>​(<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> message,
long oldMessageId)</code></th>
<tdclass="col-last">
<divclass="block">A message has been successfully sent.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.UpdateNewMessage.html#%3Cinit%3E(it.tdlight.jni.TdApi.Message)">UpdateNewMessage</a></span>​(<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> message)</code></th>
<tdclass="col-last">
<divclass="block">A new message was received; can also