<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 odd-row-color"><code><ahref="TdApi.ChatAvailableReactions.html"title="class in it.tdlight.jni">TdApi.ChatAvailableReactions</a></code></div>
<divclass="col-first odd-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">Identifier of a user or chat that is selected to send messages in the chat; may be null if the user can't change message sender.</div>
<divclass="col-first odd-row-color"><code><ahref="TdApi.ChatNotificationSettings.html"title="class in it.tdlight.jni">TdApi.ChatNotificationSettings</a></code></div>
<divclass="block">Notification settings for the chat.</div>
</div>
<divclass="col-first even-row-color"><code><ahref="TdApi.ChatJoinRequestsInfo.html"title="class in it.tdlight.jni">TdApi.ChatJoinRequestsInfo</a></code></div>
<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>
</div>
<divclass="col-first odd-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, name of a theme, set for the chat.</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>
<ahref="TdApi.ChatType.html"title="class in it.tdlight.jni">TdApi.ChatType</a> 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> 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,
<ahref="TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> messageSenderId,
<ahref="TdApi.ChatNotificationSettings.html"title="class in it.tdlight.jni">TdApi.ChatNotificationSettings</a> notificationSettings,
<ahref="TdApi.ChatAvailableReactions.html"title="class in it.tdlight.jni">TdApi.ChatAvailableReactions</a> availableReactions,
int messageAutoDeleteTime,
<ahref="TdApi.ChatBackground.html"title="class in it.tdlight.jni">TdApi.ChatBackground</a> background,
<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> themeName,
<ahref="TdApi.ChatActionBar.html"title="class in it.tdlight.jni">TdApi.ChatActionBar</a> actionBar,
<ahref="TdApi.VideoChat.html"title="class in it.tdlight.jni">TdApi.VideoChat</a> videoChat,
<ahref="TdApi.ChatJoinRequestsInfo.html"title="class in it.tdlight.jni">TdApi.ChatJoinRequestsInfo</a> pendingJoinRequests,
long replyMarkupMessageId,
<ahref="TdApi.DraftMessage.html"title="class in it.tdlight.jni">TdApi.DraftMessage</a> draftMessage,
<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> clientData)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">A chat.</div>
</div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(java.io.DataInput)"class="member-name-link">Chat</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="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.ChatType.html"title="class in it.tdlight.jni">TdApi.ChatType</a></span> <spanclass="element-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/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">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="element-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="element-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="element-name">lastMessage</span></div>
<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="element-name">positions</span></div>
<divclass="block">Positions of the chat in chat lists.</div>
</section>
</li>
<li>
<sectionclass="detail"id="messageSenderId">
<h3>messageSenderId</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">messageSenderId</span></div>
<divclass="block">Identifier of a user or chat that is selected to send messages in the chat; may be null if the user can't change message sender.</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.BlockList.html"title="class in it.tdlight.jni">TdApi.BlockList</a></span> <spanclass="element-name">blockList</span></div>
<divclass="block">Block list to which the chat is added; may be null if none.</div>
<divclass="block">Number of messages with unread reactions 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="element-name">notificationSettings</span></div>
<divclass="block">Notification settings for the chat.</div>
</section>
</li>
<li>
<sectionclass="detail"id="availableReactions">
<h3>availableReactions</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.ChatAvailableReactions.html"title="class in it.tdlight.jni">TdApi.ChatAvailableReactions</a></span> <spanclass="element-name">availableReactions</span></div>
<divclass="block">Types of reaction, available in the chat.</div>
<divclass="block">Current message auto-delete or self-destruct timer setting for the chat, in seconds; 0 if disabled. Self-destruct timer in secret chats starts after the message or its content is viewed. Auto-delete timer in other chats starts from the send date.</div>
</section>
</li>
<li>
<sectionclass="detail"id="background">
<h3>background</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.ChatBackground.html"title="class in it.tdlight.jni">TdApi.ChatBackground</a></span> <spanclass="element-name">background</span></div>
<divclass="block">Background set for the chat; may be null if none.</div>
</section>
</li>
<li>
<sectionclass="detail"id="themeName">
<h3>themeName</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">themeName</span></div>
<divclass="block">If non-empty, name of a theme, set for the chat.</div>
</section>
</li>
<li>
<sectionclass="detail"id="actionBar">
<h3>actionBar</h3>
<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="element-name">actionBar</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.VideoChat.html"title="class in it.tdlight.jni">TdApi.VideoChat</a></span> <spanclass="element-name">videoChat</span></div>
<divclass="block">Information about video chat of the chat.</div>
</section>
</li>
<li>
<sectionclass="detail"id="pendingJoinRequests">
<h3>pendingJoinRequests</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.ChatJoinRequestsInfo.html"title="class in it.tdlight.jni">TdApi.ChatJoinRequestsInfo</a></span> <spanclass="element-name">pendingJoinRequests</span></div>
<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="element-name">draftMessage</span></div>
<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">clientData</span></div>
<divclass="block">Application-specific data associated with the chat. (For example, the chat scroll position or local chat notification settings can be stored here.) Persistent if the message database is used.</div>
<ahref="TdApi.ChatType.html"title="class in it.tdlight.jni">TdApi.ChatType</a> 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> 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,
<ahref="TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> messageSenderId,
<ahref="TdApi.ChatNotificationSettings.html"title="class in it.tdlight.jni">TdApi.ChatNotificationSettings</a> notificationSettings,
<ahref="TdApi.ChatAvailableReactions.html"title="class in it.tdlight.jni">TdApi.ChatAvailableReactions</a> availableReactions,
int messageAutoDeleteTime,
<ahref="TdApi.ChatBackground.html"title="class in it.tdlight.jni">TdApi.ChatBackground</a> background,
<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> themeName,
<ahref="TdApi.ChatActionBar.html"title="class in it.tdlight.jni">TdApi.ChatActionBar</a> actionBar,
<ahref="TdApi.VideoChat.html"title="class in it.tdlight.jni">TdApi.VideoChat</a> videoChat,
<ahref="TdApi.ChatJoinRequestsInfo.html"title="class in it.tdlight.jni">TdApi.ChatJoinRequestsInfo</a> pendingJoinRequests,
long replyMarkupMessageId,
<ahref="TdApi.DraftMessage.html"title="class in it.tdlight.jni">TdApi.DraftMessage</a> draftMessage,
<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> clientData)</span></div>
<divclass="block">A chat. (Can be a private chat, basic group, supergroup, or secret chat.)</div>
<dd><code>messageSenderId</code> - Identifier of a user or chat that is selected to send messages in the chat; may be null if the user can't change message sender.</dd>
<dd><code>isTranslatable</code> - True, if translation of all messages in the chat must be suggested to the user.</dd>
<dd><code>isMarkedAsUnread</code> - True, if the chat is marked as unread.</dd>
<dd><code>hasScheduledMessages</code> - True, if the chat has scheduled messages.</dd>
<dd><code>canBeDeletedOnlyForSelf</code> - 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> - True, if the chat messages can be deleted for all users.</dd>
<dd><code>canBeReported</code> - True, if the chat can be reported to Telegram moderators through reportChat or reportChatPhoto.</dd>
<dd><code>defaultDisableNotification</code> - Default value of the disableNotification parameter, used when a message is sent to the chat.</dd>
<dd><code>unreadCount</code> - Number of unread messages in the chat.</dd>
<dd><code>lastReadInboxMessageId</code> - Identifier of the last read incoming message.</dd>
<dd><code>lastReadOutboxMessageId</code> - Identifier of the last read outgoing message.</dd>
<dd><code>unreadMentionCount</code> - Number of unread messages with a mention/reply in the chat.</dd>
<dd><code>unreadReactionCount</code> - Number of messages with unread reactions in the chat.</dd>
<dd><code>notificationSettings</code> - Notification settings for the chat.</dd>
<dd><code>availableReactions</code> - Types of reaction, available in the chat.</dd>
<dd><code>messageAutoDeleteTime</code> - Current message auto-delete or self-destruct timer setting for the chat, in seconds; 0 if disabled. Self-destruct timer in secret chats starts after the message or its content is viewed. Auto-delete timer in other chats starts from the send date.</dd>
<dd><code>background</code> - Background set for the chat; may be null if none.</dd>
<dd><code>themeName</code> - If non-empty, name of a theme, set for the chat.</dd>
<dd><code>replyMarkupMessageId</code> - Identifier of the message from which reply markup needs to be used; 0 if there is no default custom reply markup in the chat.</dd>
<dd><code>clientData</code> - Application-specific data associated with the chat. (For example, the chat scroll position or local chat notification settings can be stored here.) Persistent if the message database is used.</dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">Chat</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">A chat. (Can be a private chat, basic group, supergroup, or secret chat.)</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>input</code> - Serialized input</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> - the deserialization failed</dd>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="TdApi.Object.html#getConstructor()">TdApi.Object</a></code></span></div>
<divclass="block">Returns an identifier uniquely determining type of the object.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<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>
<divclass="block">Serialize the TDLib class</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>Parameters:</dt>
<dd><code>output</code> - output data stream</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> - the serialization failed</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 © 2023. All rights reserved.</small></p>