TDLightTelegramBots/TelegramBots.wiki/abilities/img/replyflow_diagram.svg
Abbas Abou Daya 0ff63149f7 Add ReplyFlow implementation, tests, and wiki
This commit also has a some minor test refactoring.
2019-09-25 23:25:11 -07:00

3 lines
12 KiB
XML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="401px" height="532px" viewBox="-0.5 -0.5 401 532" content="&lt;mxfile host=&quot;www.draw.io&quot; modified=&quot;2019-09-26T06:06:27.490Z&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36&quot; etag=&quot;JtTyUvEwt9JrOuyobOlq&quot; version=&quot;11.3.1&quot; type=&quot;device&quot; pages=&quot;1&quot;&gt;&lt;diagram id=&quot;0JDYOSqcpDZx-cRjeJbm&quot; name=&quot;Page-1&quot;&gt;5Vldb9owFP0te0B7ahXnq+njoKybtkmTmDRtbya5JC6OHTnmq79+duIAwZQxiTbAXkh8fI2dc4+PHafnDfLlo8BF9o0nQHuukyx73kPPdRGKAnXRyKpGwjunBlJBEhO0AUbkGQzYhM1IAmUrUHJOJSnaYMwZg1i2MCwEX7TDJpy2ey1wChYwijG10Z8kkVmNRoGzwT8BSbOmZ+SYmhw3wQYoM5zwxRbkDXveQHAu67t8OQCqyWt4qdt9fKF2PTABTB7TIF0W01/R9+Xo8QkNWfxl9XvCbkx25pjOzAObwcpVwwAkihBT5EJmPOUM0+EG7Qs+YwnobhxV2sR85bxQIFLgE0i5MtnFM8kVlMmcmtq6T93Ri89moJLPRAwHHqjRCBYpyANx/joDSrrAc5BipdoJoFiSeXsc2GgoXcdtaFY3hul/YB1ZrC/wFBQyKyz62+QuMiJhVOCKg4Wacm0iJ4TSAadcVG29SRRDHCu8lIJPYatmHAV+4Kypn4OQsDxMvk2WaeCFRuFmiiPflBebCYOaWZBtTZam3cn5vbs2VftHqjrsUtX3/yvrUZes+xbrA57nmCV6DYJqudTLqP6hMJHqojxADU5Pw3cndZsEQzTZ6zZhHMF48jpu43buNsi28wsXfnSk8JGzP1Vvo/zIor0S9QWuoIHT1rTndq5pxyJ3RJRvqH9zPutB4DlUtsKgMZPbnhviXNPJxmWxJuaizGU3EX7niXDtRFy4uYTHmst9l+YSWrTXq+fFecv6/fNsvKVR8PVIGt0fqemXcvVGr532Dl17ecLZe70vnDK+0Bqoftu7xtsL9PJd4Z+Bl3vXJvz1kdxfzdztUviuvUO3XoiAlnAF9h6goGOVI9veD2wdr8VdQtS1u6AjznLPX8/B7mFisIfXPbSiV6PV3gnOShAWteqRZZs/ASV5xuMqQLNTcMJkNbyg3wseFKK9uaxtWjfAlKRM3Ve25PU1jyTG9IOBpfb3fqnyRVj6ozL7G/9ErEe7R7i2i/h7WHdfjfUjjnDP3yQsMUd7zPlNxWyfmYy5/VZzXVqObAfxTqNlVdx8v6vqtr6CesM/&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><path d="M 200 60 L 200 93.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 200 98.88 L 196.5 91.88 L 200 93.63 L 203.5 91.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><rect x="140" y="0" width="120" height="60" fill="#f8cecc" stroke="#b85450" pointer-events="none"/><g transform="translate(177.5,23.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="44" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 46px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">wake up</div></div></foreignObject><text x="22" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">wake up</text></switch></g><path d="M 140 130 L 60 130 L 60 173.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 60 178.88 L 56.5 171.88 L 60 173.63 L 63.5 171.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 260 130 L 340 130 L 340 173.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 340 178.88 L 336.5 171.88 L 340 173.63 L 343.5 171.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><rect x="140" y="100" width="120" height="60" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(141.5,116.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="116" height="26" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 116px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">Command me to go left or right!</div></div></foreignObject><text x="58" y="19" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Command me to go left or right!</text></switch></g><path d="M 340 240 L 340 273.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 340 278.88 L 336.5 271.88 L 340 273.63 L 343.5 271.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><rect x="280" y="180" width="120" height="60" fill="#f8cecc" stroke="#b85450" pointer-events="none"/><g transform="translate(327.5,203.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="24" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 24px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">right</div></div></foreignObject><text x="12" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">right</text></switch></g><rect x="280" y="280" width="120" height="60" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(281.5,296.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="116" height="26" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 116px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">Sir, I have gone right. </div></div></foreignObject><text x="58" y="19" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Sir, I have gone right. </text></switch></g><path d="M 60 240 L 60 273.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 60 278.88 L 56.5 271.88 L 60 273.63 L 63.5 271.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><rect x="0" y="180" width="120" height="60" fill="#f8cecc" stroke="#b85450" pointer-events="none"/><g transform="translate(51.5,203.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="16" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 18px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">left</div></div></foreignObject><text x="8" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">left</text></switch></g><path d="M 60 340 L 60 360 L 60 355 L 60 368.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 60 373.88 L 56.5 366.88 L 60 368.63 L 63.5 366.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><rect x="0" y="280" width="120" height="60" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(1.5,296.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="116" height="26" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 116px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">I don't know how to go left.</div></div></foreignObject><text x="58" y="19" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">I don't know how to go left.</text></switch></g><path d="M 60 435 L 60 455 L 60 450 L 60 463.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 60 468.88 L 56.5 461.88 L 60 463.63 L 63.5 461.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><rect x="0" y="375" width="120" height="60" fill="#f8cecc" stroke="#b85450" pointer-events="none"/><g transform="translate(23.5,398.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="72" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 74px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">go left or else</div></div></foreignObject><text x="36" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">go left or else</text></switch></g><rect x="0" y="470" width="120" height="60" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(6.5,493.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="106" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 108px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">Sir, I have gone left.</div></div></foreignObject><text x="53" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Sir, I have gone left.</text></switch></g><rect x="340" y="10" width="10" height="10" fill="#f8cecc" stroke="#b85450" pointer-events="none"/><g transform="translate(361.5,7.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="23" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">user</div></div></foreignObject><text x="12" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">user</text></switch></g><rect x="340" y="45" width="10" height="10" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(361.5,42.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="17" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">bot</div></div></foreignObject><text x="9" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">bot</text></switch></g></g></svg>