<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>
<dd><ahref="TdApi.html"title="class in it.tdlight.jni">TdApi</a></dd>
</dl>
<hr>
<divclass="type-signature"><spanclass="modifiers">public static final class </span><spanclass="element-name type-name-label">TdApi.AttachmentMenuBot</span>
<spanclass="extends-implements">extends <ahref="TdApi.Object.html"title="class in it.tdlight.jni">TdApi.Object</a></span></div>
<divclass="block">Represents a bot, which can be added to attachment menu.</div>
</section>
<sectionclass="summary">
<ulclass="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<sectionclass="field-summary"id="field-summary">
<h2>Field Summary</h2>
<divclass="caption"><span>Fields</span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="block">Default attachment menu icon for the bot in SVG format; may be null.</div>
</div>
<divclass="col-first even-row-color"><code><ahref="TdApi.AttachmentMenuBotColor.html"title="class in it.tdlight.jni">TdApi.AttachmentMenuBotColor</a></code></div>
<divclass="block">Attachment menu icon for the bot in TGS format for the official native macOS app; may be null.</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">Name for the bot in attachment menu.</div>
</div>
<divclass="col-first odd-row-color"><code><ahref="TdApi.AttachmentMenuBotColor.html"title="class in it.tdlight.jni">TdApi.AttachmentMenuBotColor</a></code></div>
<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> name,
<ahref="TdApi.AttachmentMenuBotColor.html"title="class in it.tdlight.jni">TdApi.AttachmentMenuBotColor</a> nameColor,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> defaultIcon,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> iosStaticIcon,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> iosAnimatedIcon,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> androidIcon,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> macosIcon,
<ahref="TdApi.AttachmentMenuBotColor.html"title="class in it.tdlight.jni">TdApi.AttachmentMenuBotColor</a> iconColor,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> webAppPlaceholder)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Represents a bot, which can be added to attachment menu.</div>
</div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(java.io.DataInput)"class="member-name-link">AttachmentMenuBot</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-last even-row-color">
<divclass="block">Represents a bot, which can be added to attachment menu.</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">True, if the user must be asked for the permission to the bot to send them messages.</div>
</section>
</li>
<li>
<sectionclass="detail"id="name">
<h3>name</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">name</span></div>
<divclass="block">Name for the bot in attachment menu.</div>
</section>
</li>
<li>
<sectionclass="detail"id="nameColor">
<h3>nameColor</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.AttachmentMenuBotColor.html"title="class in it.tdlight.jni">TdApi.AttachmentMenuBotColor</a></span> <spanclass="element-name">nameColor</span></div>
<divclass="block">Color to highlight selected name of the bot if appropriate; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="defaultIcon">
<h3>defaultIcon</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a></span> <spanclass="element-name">defaultIcon</span></div>
<divclass="block">Default attachment menu icon for the bot in SVG format; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="iosStaticIcon">
<h3>iosStaticIcon</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a></span> <spanclass="element-name">iosStaticIcon</span></div>
<divclass="block">Attachment menu icon for the bot in SVG format for the official iOS app; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="iosAnimatedIcon">
<h3>iosAnimatedIcon</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a></span> <spanclass="element-name">iosAnimatedIcon</span></div>
<divclass="block">Attachment menu icon for the bot in TGS format for the official iOS app; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="androidIcon">
<h3>androidIcon</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a></span> <spanclass="element-name">androidIcon</span></div>
<divclass="block">Attachment menu icon for the bot in TGS format for the official Android app; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="macosIcon">
<h3>macosIcon</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a></span> <spanclass="element-name">macosIcon</span></div>
<divclass="block">Attachment menu icon for the bot in TGS format for the official native macOS app; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="iconColor">
<h3>iconColor</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.AttachmentMenuBotColor.html"title="class in it.tdlight.jni">TdApi.AttachmentMenuBotColor</a></span> <spanclass="element-name">iconColor</span></div>
<divclass="block">Color to highlight selected icon of the bot if appropriate; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="webAppPlaceholder">
<h3>webAppPlaceholder</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a></span> <spanclass="element-name">webAppPlaceholder</span></div>
<divclass="block">Default placeholder for opened Web Apps in SVG format; may be null.</div>
<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> name,
<ahref="TdApi.AttachmentMenuBotColor.html"title="class in it.tdlight.jni">TdApi.AttachmentMenuBotColor</a> nameColor,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> defaultIcon,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> iosStaticIcon,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> iosAnimatedIcon,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> androidIcon,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> macosIcon,
<ahref="TdApi.AttachmentMenuBotColor.html"title="class in it.tdlight.jni">TdApi.AttachmentMenuBotColor</a> iconColor,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> webAppPlaceholder)</span></div>
<divclass="block">Represents a bot, which can be added to attachment menu.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>botUserId</code> - User identifier of the bot added to attachment menu.</dd>
<dd><code>supportsSelfChat</code> - True, if the bot supports opening from attachment menu in the chat with the bot.</dd>
<dd><code>supportsUserChats</code> - True, if the bot supports opening from attachment menu in private chats with ordinary users.</dd>
<dd><code>supportsBotChats</code> - True, if the bot supports opening from attachment menu in private chats with other bots.</dd>
<dd><code>supportsGroupChats</code> - True, if the bot supports opening from attachment menu in basic group and supergroup chats.</dd>
<dd><code>supportsChannelChats</code> - True, if the bot supports opening from attachment menu in channel chats.</dd>
<dd><code>supportsSettings</code> - True, if the bot supports "settings_button_pressed" event.</dd>
<dd><code>requestWriteAccess</code> - True, if the user must be asked for the permission to the bot to send them messages.</dd>
<dd><code>name</code> - Name for the bot in attachment menu.</dd>
<dd><code>nameColor</code> - Color to highlight selected name of the bot if appropriate; may be null.</dd>
<dd><code>defaultIcon</code> - Default attachment menu icon for the bot in SVG format; may be null.</dd>
<dd><code>iosStaticIcon</code> - Attachment menu icon for the bot in SVG format for the official iOS app; may be null.</dd>
<dd><code>iosAnimatedIcon</code> - Attachment menu icon for the bot in TGS format for the official iOS app; may be null.</dd>
<dd><code>androidIcon</code> - Attachment menu icon for the bot in TGS format for the official Android app; may be null.</dd>
<dd><code>macosIcon</code> - Attachment menu icon for the bot in TGS format for the official native macOS app; may be null.</dd>
<dd><code>iconColor</code> - Color to highlight selected icon of the bot if appropriate; may be null.</dd>
<dd><code>webAppPlaceholder</code> - Default placeholder for opened Web Apps in SVG format; may be null.</dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">AttachmentMenuBot</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">Represents a bot, which can be added to attachment menu.</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>