How to send audio through BLiP Chat? October 30, 2024 15:53 Updated Index: Prerequisites Setting up audio Sending an audio With BLiP Chat, you can enable users to send audio messages to the bot or to customer support. Prerequisites Next, we have the prerequisites for using audio in BLiP Chat for some integration methods. If your integration includes using an iframe that encompasses BLiP Chat in any way, even though it is not recommended for all cases (using our methods that already have an iframe, such as the blip-chat-widget or our native mobile packages), you can ensure microphone access by adding the allow property with at least the value microphone, as shown in the examples below: iframe.setAttribute('allow', 'microphone') or <iframe allow="microphone"></iframe> Bot URL and Key A direct integration with the bot's URL and key requires your own website to allow microphone access. If the integration includes an iframe, please check the general prerequisites. blip-chat-widget Package If your integration with BLiP Chat was done through the installation of the Node package blip-chat-widget (blip-chat-widget - npm), you must use at least version 1.10.0. blip-chat-widget script If your integration was done through script injection as per the documentation: How to add a bot to a website using Blip Chat? If the route for your script is already set as https://unpkg.com/blip-chat-widget, no action is necessary; it is always updated to the latest version. However, if a specific version was specified in your URL, it must be at least 1.10.0, as follows: https://unpkg.com/blip-chat-widget@1.10.0. Native Android For integration with Native Android (https://help.blip.ai/hc/pt-br/articles/4474390487447-Como-adicionar-um-bot-em-um-aplicativo-Android-utilizando-o-BLiP-Chat), your application must be prepared to request permission to use the microphone.Documentation for Android developers explaining what permissions are and how to request them: Permissions in Android. Native iOS For integration with Native iOS (https://help.blip.ai/hc/pt-br/articles/4474399341975-Como-adicionar-um-bot-em-um-aplicativo-iOS-utilizando-o-BLiP-Chat), your application must be prepared to request permission to use the microphone. Documentation for iOS developers explaining what permissions are and how to request them: Requesting Authorization to Capture and Store Media | Apple Developer Documentation. Setting Up Audio With the prerequisites ensured, it’s time to set up access for sending audio in your bot.On the BLiP Chat channel screen, through the 'Settings' tab, you must select the option to receive files and record audio, and then save, as shown in the image below. Sending an Audio Si su configuración es correcta, el siguiente ícono de micrófono aparecerá en la conversación, al lado del envío de archivos: And if your permission settings or versions of our applications are correct, clicking the button will display an alert that varies from platform to platform: In the end, your audio will be sent in the same way as sending a regular audio file. For more information, access the discussion on the topic in our community or the videos on our channel. 😃 Related articles How to Send Copy and Paste via BLiP Chat? How to add push notifications to BLiP Chat Android Sending WhatsApp Active Messages on Blip Desk How to allow sending files in Blip Chat Blip Calls: Making Calls in Desk