Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize the speech message recognition developed by Wechat official account by php

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces how php realizes the voice message recognition of the official account of Wechat. It is very detailed and has certain reference value. Interested friends must finish reading it.

The details are as follows

1. Enable speech recognition (off by default)

two。 Speech recognition

Please note that after enabling speech recognition, every time a user sends a voice to the official account, Wechat will add a Recognition field to the pushed voice message XML packet (Note: due to the client cache, the developer enables or disables the speech recognition feature, which takes effect immediately for new followers and 24 hours for already followed users. Developers can re-follow this account for testing). The voice XML packets after speech recognition is enabled are as follows:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report