<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Class: Discorb::MessageComponentInteraction — Documentation by YARD 0.9.26 </title> <link rel="stylesheet" href="../css/style.css" type="text/css" /> <link rel="stylesheet" href="../css/common.css" type="text/css" /> <script type="text/javascript"> pathId = "Discorb::MessageComponentInteraction"; relpath = '../'; </script> <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script> <script type="text/javascript" charset="utf-8" src="../js/app.js"></script> </head> <body> <div class="nav_wrap"> <iframe id="nav" src="../class_list.html?1"></iframe> <div id="resizer"></div> </div> <div id="main" tabindex="-1"> <div id="header"> <div id="menu"> <a href="../a_index.html">Index (M)</a> » <span class='title'><span class='object_link'><a href="../Discorb.html" title="Discorb (module)">Discorb</a></span></span> » <span class="title">MessageComponentInteraction</span> </div> <div id="search"> <a class="full_list_link" id="class_list_link" href="../class_list.html"> <svg width="24" height="24"> <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect> <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect> <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect> </svg> </a> </div> <div class="clear"></div> </div> <div id="content"><h1>Class: Discorb::MessageComponentInteraction <span class="abstract note title">Abstract</span> </h1> <div class="box_info"> <dl> <dt>Inherits:</dt> <dd> <span class="inheritName"><span class='object_link'><a href="Interaction.html" title="Discorb::Interaction (class)">Interaction</a></span></span> <ul class="fullTree"> <li>Object</li> <li class="next"><span class='object_link'><a href="DiscordModel.html" title="Discorb::DiscordModel (class)">DiscordModel</a></span></li> <li class="next"><span class='object_link'><a href="Interaction.html" title="Discorb::Interaction (class)">Interaction</a></span></li> <li class="next">Discorb::MessageComponentInteraction</li> </ul> <a href="#" class="inheritanceTree">show all</a> </dd> </dl> <dl> <dt>Includes:</dt> <dd><span class='object_link'><a href="Interaction/SourceResponse.html" title="Discorb::Interaction::SourceResponse (module)">Interaction::SourceResponse</a></span>, <span class='object_link'><a href="Interaction/UpdateResponse.html" title="Discorb::Interaction::UpdateResponse (module)">Interaction::UpdateResponse</a></span></dd> </dl> <dl> <dt>Defined in:</dt> <dd>lib/discorb/interaction.rb</dd> </dl> </div> <h2>Overview</h2><div class="docstring"> <div class="discussion"> <div class="note abstract"> <strong>This class is abstract.</strong> <div class='inline'></div> </div> <p>Represents a message component interaction.</p> </div> </div> <div class="tags"> </div><div id="subclasses"> <h2>Direct Known Subclasses</h2> <p class="children"><span class='object_link'><a href="MessageComponentInteraction/Button.html" title="Discorb::MessageComponentInteraction::Button (class)">Button</a></span>, <span class='object_link'><a href="MessageComponentInteraction/SelectMenu.html" title="Discorb::MessageComponentInteraction::SelectMenu (class)">SelectMenu</a></span></p> </div> <h2>Defined Under Namespace</h2> <p class="children"> <strong class="classes">Classes:</strong> <span class='object_link'><a href="MessageComponentInteraction/Button.html" title="Discorb::MessageComponentInteraction::Button (class)">Button</a></span>, <span class='object_link'><a href="MessageComponentInteraction/SelectMenu.html" title="Discorb::MessageComponentInteraction::SelectMenu (class)">SelectMenu</a></span> </p> <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2> <ul class="summary"> <li class="public "> <span class="summary_signature"> <a href="#custom_id-instance_method" title="#custom_id (instance method)">#<strong>custom_id</strong> ⇒ String </a> </span> <span class="note title readonly">readonly</span> <span class="summary_desc"><div class='inline'><p>The content of the response.</p> </div></span> </li> </ul> <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Interaction.html" title="Discorb::Interaction (class)">Interaction</a></span></h3> <p class="inherited"><span class='object_link'><a href="Interaction.html#application_id-instance_method" title="Discorb::Interaction#application_id (method)">#application_id</a></span>, <span class='object_link'><a href="Interaction.html#id-instance_method" title="Discorb::Interaction#id (method)">#id</a></span>, <span class='object_link'><a href="Interaction.html#member-instance_method" title="Discorb::Interaction#member (method)">#member</a></span>, <span class='object_link'><a href="Interaction.html#token-instance_method" title="Discorb::Interaction#token (method)">#token</a></span>, <span class='object_link'><a href="Interaction.html#type-instance_method" title="Discorb::Interaction#type (method)">#type</a></span>, <span class='object_link'><a href="Interaction.html#user-instance_method" title="Discorb::Interaction#user (method)">#user</a></span>, <span class='object_link'><a href="Interaction.html#version-instance_method" title="Discorb::Interaction#version (method)">#version</a></span></p> <h2>Method Summary</h2> <h3 class="inherited">Methods included from <span class='object_link'><a href="Interaction/UpdateResponse.html" title="Discorb::Interaction::UpdateResponse (module)">Interaction::UpdateResponse</a></span></h3> <p class="inherited"><span class='object_link'><a href="Interaction/UpdateResponse.html#defer_update-instance_method" title="Discorb::Interaction::UpdateResponse#defer_update (method)">#defer_update</a></span>, <span class='object_link'><a href="Interaction/UpdateResponse.html#edit-instance_method" title="Discorb::Interaction::UpdateResponse#edit (method)">#edit</a></span></p> <h3 class="inherited">Methods included from <span class='object_link'><a href="Interaction/SourceResponse.html" title="Discorb::Interaction::SourceResponse (module)">Interaction::SourceResponse</a></span></h3> <p class="inherited"><span class='object_link'><a href="Interaction/SourceResponse.html#defer_source-instance_method" title="Discorb::Interaction::SourceResponse#defer_source (method)">#defer_source</a></span>, <span class='object_link'><a href="Interaction/SourceResponse.html#post-instance_method" title="Discorb::Interaction::SourceResponse#post (method)">#post</a></span></p> <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Interaction.html" title="Discorb::Interaction (class)">Interaction</a></span></h3> <p class="inherited"><span class='object_link'><a href="Interaction.html#channel-instance_method" title="Discorb::Interaction#channel (method)">#channel</a></span>, <span class='object_link'><a href="Interaction.html#guild-instance_method" title="Discorb::Interaction#guild (method)">#guild</a></span>, <span class='object_link'><a href="Interaction.html#inspect-instance_method" title="Discorb::Interaction#inspect (method)">#inspect</a></span>, <span class='object_link'><a href="Interaction.html#target-instance_method" title="Discorb::Interaction#target (method)">#target</a></span></p> <h3 class="inherited">Methods inherited from <span class='object_link'><a href="DiscordModel.html" title="Discorb::DiscordModel (class)">DiscordModel</a></span></h3> <p class="inherited"><span class='object_link'><a href="DiscordModel.html#==-instance_method" title="Discorb::DiscordModel#== (method)">#==</a></span>, <span class='object_link'><a href="DiscordModel.html#eql%3F-instance_method" title="Discorb::DiscordModel#eql? (method)">#eql?</a></span>, <span class='object_link'><a href="DiscordModel.html#hash-instance_method" title="Discorb::DiscordModel#hash (method)">#hash</a></span></p> <div id="instance_attr_details" class="attr_details"> <h2>Instance Attribute Details</h2> <span id=""></span> <div class="method_details first"> <h3 class="signature first" id="custom_id-instance_method"> #<strong>custom_id</strong> ⇒ <tt>String</tt> <span class="extras">(readonly)</span> </h3><div class="docstring"> <div class="discussion"> <p>Returns The content of the response.</p> </div> </div> <div class="tags"> <p class="tag_title">Returns:</p> <ul class="return"> <li> <span class='type'>(<tt>String</tt>)</span> — <div class='inline'><p>The content of the response.</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 261 262 263</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/discorb/interaction.rb', line 261</span> <span class='kw'>def</span> <span class='id identifier rubyid_custom_id'>custom_id</span> <span class='ivar'>@custom_id</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> </div> </div> <div id="footer"> Generated from <a href="https://github.com/discorb-lib/discorb/tree/984483f907e152c0c374ddf559cb3057f4932bf5"><code>984483f907e152c0c374ddf559cb3057f4932bf5</code></a>, version v0.0.2, with YARD 0.9.26. </div> </div> </body> </html>