<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="block">True, if the chat can be reported to
Telegram moderators through reportChat or reportChatPhoto.</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">Current message Time To Live setting
(self-destruct timer) for the chat;
0 if not defined.</div>
</div>
<divclass="col-first even-row-color"><code><ahref="TdApi.ChatNotificationSettings.html"title="class in it.tdlight.jni">TdApi.ChatNotificationSettings</a></code></div>
<divclass="block">Notification settings for this chat.</div>
</div>
<divclass="col-first odd-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 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, name of a theme, set
for 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>
<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="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="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="element-name">positions</span></div>
<divclass="block">Positions of the chat in chat lists.</div>
<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
<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="element-name">notificationSettings</span></div>
<divclass="block">Notification settings for this chat.</div>
<divclass="block">Current message Time To Live setting
(self-destruct timer) for the chat;
0 if not defined. TTL is counted from
the time message or its content is
viewed in secret chats and from the
send date in other chats.</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="block">Information about actions which must
be possible to do through the chat
action bar; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="videoChat">
<h3>videoChat</h3>
<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">Information about pending join requests;
<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="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/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
<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="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>
<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>
<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>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>