<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/13/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>
<tdclass="col-first"><code><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></code></td>
<tdclass="col-first"><code><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></code></td>
<divclass="block">If non-empty, name of the theme set
for the chat.</div>
</td>
</tr>
<trclass="alt-color">
<tdclass="col-first"><code><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></code></td>
<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="alt-color">
<thclass="col-constructor-name"scope="row"><code><spanclass="member-name-link"><ahref="#%3Cinit%3E(java.io.DataInput)">Chat</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/DataInput.html"title="class or interface in java.io"class="external-link">DataInput</a> input)</code></th>
<thclass="col-first"scope="col">Modifier and Type</th>
<thclass="col-second"scope="col">Method</th>
<thclass="col-last"scope="col">Description</th>
</tr>
</thead>
<tbody>
<trclass="alt-color"id="i0">
<tdclass="col-first"><code>boolean</code></td>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="#equals(java.lang.Object)">equals</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a> o)</code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="#serialize(java.io.DataOutput)">serialize</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/DataOutput.html"title="class or interface in java.io"class="external-link">DataOutput</a> output)</code></th>
<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/13/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/13/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/13/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/13/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/13/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/13/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/13/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="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.ChatType.html"title="class in it.tdlight.jni">TdApi.ChatType</a></span> <spanclass="member-name">type</span></div>
<divclass="block">Type of the chat.</div>
</section>
</li>
<li>
<sectionclass="detail"id="title">
<h3>title</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="member-name">title</span></div>
<divclass="block">Chat title.</div>
</section>
</li>
<li>
<sectionclass="detail"id="photo">
<h3>photo</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.ChatPhotoInfo.html"title="class in it.tdlight.jni">TdApi.ChatPhotoInfo</a></span> <spanclass="member-name">photo</span></div>
<divclass="block">Chat photo; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="permissions">
<h3>permissions</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.ChatPermissions.html"title="class in it.tdlight.jni">TdApi.ChatPermissions</a></span> <spanclass="member-name">permissions</span></div>
<divclass="block">Actions that non-administrator chat
members are allowed to take in the chat.</div>
</section>
</li>
<li>
<sectionclass="detail"id="lastMessage">
<h3>lastMessage</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a></span> <spanclass="member-name">lastMessage</span></div>
<divclass="block">Last message in the chat; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="positions">
<h3>positions</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.ChatPosition.html"title="class in it.tdlight.jni">TdApi.ChatPosition</a>[]</span> <spanclass="member-name">positions</span></div>
<divclass="block">Positions of the chat in chat lists.</div>
<divclass="block">Number of unread messages with a
mention/reply in the chat.</div>
</section>
</li>
<li>
<sectionclass="detail"id="notificationSettings">
<h3>notificationSettings</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.ChatNotificationSettings.html"title="class in it.tdlight.jni">TdApi.ChatNotificationSettings</a></span> <spanclass="member-name">notificationSettings</span></div>
<divclass="block">Notification settings for this chat.</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="member-name">themeName</span></div>
<divclass="block">If non-empty, name of the theme set
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.ChatActionBar.html"title="class in it.tdlight.jni">TdApi.ChatActionBar</a></span> <spanclass="member-name">actionBar</span></div>
<divclass="block">Describes actions which should be
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.VoiceChat.html"title="class in it.tdlight.jni">TdApi.VoiceChat</a></span> <spanclass="member-name">voiceChat</span></div>
<divclass="block">Contains information about voice chat
<divclass="block">Identifier of the message from which
reply markup needs to be used; 0 if
there is no default custom reply markup
in the chat.</div>
</section>
</li>
<li>
<sectionclass="detail"id="draftMessage">
<h3>draftMessage</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.DraftMessage.html"title="class in it.tdlight.jni">TdApi.DraftMessage</a></span> <spanclass="member-name">draftMessage</span></div>
<divclass="block">A draft of a message in the chat; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="clientData">
<h3>clientData</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="member-name">clientData</span></div>
<divclass="block">Contains application-specific data
<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)</span></div>
<divclass="block">A chat. (Can be a private chat, basic
group, supergroup, or secret chat.)</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>id</code> - long Chat unique identifier.</dd>
<dd><code>type</code> - ChatType Type of the chat.</dd>
<dd><code>title</code> - String Chat title.</dd>
<dd><code>photo</code> - ChatPhotoInfo Chat photo; may be null.</dd>
<dd><code>permissions</code> - ChatPermissions Actions that non-administrator chat
members are allowed to take in the chat.</dd>
<dd><code>lastMessage</code> - Message Last message in the chat; may be null.</dd>
<dd><code>positions</code> - ChatPosition[] Positions of the chat in chat lists.</dd>
<dd><code>isMarkedAsUnread</code> - boolean True, if the chat is marked as unread.</dd>
<dd><code>isBlocked</code> - boolean True, if the chat is blocked by the
current user and private messages from
the chat can't be received.</dd>
<dd><code>hasScheduledMessages</code> - boolean True, if the chat has scheduled messages.</dd>
<dd><code>canBeDeletedOnlyForSelf</code> - boolean True, if the chat messages can be
deleted only for the current user
while other users will continue to
see the messages.</dd>
<dd><code>canBeDeletedForAllUsers</code> - boolean True, if the chat messages can be
deleted for all users.</dd>
<dd><code>canBeReported</code> - boolean True, if the chat can be reported to
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="member-name">Chat</span>​(<spanclass="parameters"><ahref="https://docs.oracle.com/en/java/javase/13/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/13/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>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/13/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="member-name">serialize</span>​(<spanclass="parameters"><ahref="https://docs.oracle.com/en/java/javase/13/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/13/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<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>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/13/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="member-name">equals</span>​(<spanclass="parameters"><ahref="https://docs.oracle.com/en/java/javase/13/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/13/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/13/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/13/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/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></code></dd>