title: How to send text message to Azure Bot?
body: <p>Totally new to Azure and the services it offers, I face many questions about the &quot;Speech&quot; service and the bots that can be created on the Microsoft platform. Currently developing an Android mobile application I'd like to realize the following behavior:</p>
  <ul>
  <li><p>The user records a voice file from the app (using <a href="https://developer.android.com/reference/android/media/MediaRecorder" rel="nofollow noreferrer">MediaRecorder</a>), this part is ok</p>
  </li>
  <li><p>Once the recording is finished, this file is sent to Azure function(via an HTTP POST).</p>
  </li>
  <li><p>The file is translated into <a href="https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/quickstarts/speech-to-text-from-file?tabs=linux%2Cbrowser%2Cwindowsinstall&amp;pivots=programming-language-java" rel="nofollow noreferrer">Text</a></p>
  </li>
  <li><p>The text is <a href="https://docs.microsoft.com/fr-fr/azure/cognitive-services/speech-service/media/voice-assistants/overview-directlinespeech.png" rel="nofollow noreferrer">sent</a> (step 7) to the bot which reacts accordingly by executing an HTTP request.</p>
  </li>
  </ul>
  <p><a href="https://i.stack.imgur.com/s61tS.png" rel="nofollow noreferrer">Scheme of the process I explained</a></p>
  <p>First of all I wanted to know if this scenario is possible or if I have to use the <a href="https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-sdk?tabs=windows%2Cubuntu%2Cios-xcode%2Cmac-xcode%2Candroid-studio" rel="nofollow noreferrer">Speech SDK</a> on my Android application.</p>
  <p>Moreover if this scenario is possible, how do I send the text to the chatbot? I've checked this <a href="https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-send-and-receive-messages?view=azure-bot-service-4.0" rel="nofollow noreferrer">link</a> but it doesn't seem very relevant to me.</p>
  <p>NB: My bot has been completely created using &quot;Bot Framework Composer&quot; for the moment, no code has been written, I just wanted to know if my scenario is plausible and above all possible.</p>