{
    "componentChunkName": "component---src-templates-doc-page-js",
    "path": "/docs/en/classificator/e/",
    "result": {"data":{"site":{"siteMetadata":{"title":"Gatsby-doc-engine"}},"markdownRemark":{"id":"0e759933-5da8-5e43-b500-2933c9ebbf12","excerpt":"e Description  — is used for a single example, a reference a user request is to be compared to. One tag is one reply.?> A local tag. It is only triggered in a…","html":"<h1>e</h1>\n<hr>\n<h4>Description</h4>\n<p><code class=\"language-text\">e</code> — is used for a single example, a reference a user request is to be compared to. One tag is one reply.</p>\n<p class='warn'>A local tag. It is only triggered in a certain context upon a switch from a parent state.</p>\n</br>\n<h4>Value type</h4>\n<ul>\n<li>multiline string</li>\n</ul>\n</br>\n<h4>Parameters</h4>\n<ul>\n<li><code class=\"language-text\">fromState</code> (string) — defines a state from which the transition is possible.</li>\n<li><code class=\"language-text\">toState</code> (string) — defines a state to which the transition is possible.</li>\n<li><code class=\"language-text\">onlyThisState</code> (boolean) — if <code class=\"language-text\">true</code>, the transition to a state can only be made from the state specified in the <code class=\"language-text\">fromState</code> flag, not from the child states. The default is <code class=\"language-text\">false</code>.</li>\n</ul>\n<p class='warn'><a href=/1.10.3/docs/en/script_development/context  >Learn more about context managing</a></p>\n</br>\n<h4>Nested data</h4>\n<ul>\n<li>multiline data</li>\n</ul>\n</br>\n<h4>How to use</h4>\n<ul>\n<li>Simple example of use:</li>\n</ul>\n<div class=\"gatsby-highlight\" data-language=\"sc\"><pre class=\"language-sc\"><code class=\"language-sc\"><span class=\"token storageType\">e:</span> When will my order arrive?</code></pre></div>\n<p>Or you can use multiple tags to add multiple examples to the state:</p>\n<div class=\"gatsby-highlight\" data-language=\"sc\"><pre class=\"language-sc\"><code class=\"language-sc\"><span class=\"token storageType\">e:</span> Where is the courier?\n<span class=\"token storageType\">e:</span> Where is my order?\n<span class=\"token storageType\">e:</span> The order is taking too long to arrive.</code></pre></div>\n</br>\n<ul>\n<li>Example of using <code class=\"language-text\">fromState</code>, <code class=\"language-text\">onlyThisState</code> flags:</li>\n</ul>\n<div class=\"gatsby-highlight\" data-language=\"sc\"><pre class=\"language-sc\"><code class=\"language-sc\"><span class=\"token keyword\">state:</span> Main\n    <span class=\"token storageType\">q!:</span> $regex&lt;/start>\n    <span class=\"token variableParameter\">a:</span> Hello. Please write your name and surname\n\n    <span class=\"token keyword\">state:</span> Name\n        <span class=\"token storageType\">intent:</span> /name\n        <span class=\"token variableParameter\">a:</span> Thanks! Please send your photo to receive the form.\n\n    <span class=\"token keyword\">state:</span> SendFile || modal=true\n     <span class=\"token storageType\">event:</span> sendFile\n     <span class=\"token variableParameter\">a:</span> Sending form\n\n<span class=\"token keyword\">state:</span> CantSend\n    <span class=\"token storageType\">e:</span> Can't attach the file || fromState=/Main/SendFile <span class=\"token entityNameClass\">, onlyThisState=</span>true\n    <span class=\"token variableParameter\">a:</span> Please check the size of attached file and try again</code></pre></div>\n<p>In this script bot will switch states from <code class=\"language-text\">SendFile</code> to <code class=\"language-text\">CantSend</code> as soon as he receives a message from client <code class=\"language-text\">Can't attach the file</code>. The transition to <code class=\"language-text\">CantSend</code> is only possible from state <code class=\"language-text\">/Main/SendFile</code> as <code class=\"language-text\">onlyThisState = true</code> flag was set.</p>","frontmatter":{"title":"","description":null},"headings":[{"value":"e"}]}},"pageContext":{"slug":"/docs/en/classificator/e/","previous":{"fields":{"slug":"/docs/en/classificator/eg!/"},"frontmatter":{"title":"","description":null}},"next":{"fields":{"slug":"/docs/en/classificator/e!/"},"frontmatter":{"title":"","description":null}}}},
    "staticQueryHashes": ["1209419333"]}