Home >Backend Development >PHP Tutorial >Can the very long text replied by the official account be divided into several short messages and sent simultaneously?

Can the very long text replied by the official account be divided into several short messages and sent simultaneously?

WBOY
WBOYOriginal
2016-12-01 01:27:511833browse

I am a newbie. I have made a dictionary function for sending text to public accounts and replying to text content. Now I have encountered the problem of text length limit when replying. The actual content text can be up to 7200 characters, which exceeds the limit of WeChat (1400 characters). Within Chinese characters), resulting in an automatic reply with an unserviceable message every time. . .
Do you have any good suggestions from the experts?
Thanks in advance!

1. The returned text cannot be deleted;
2. Only text information is returned, not pictures or links.

Reply content:

I am a newbie. I have made a dictionary function for sending text to public accounts and replying to text content. Now I have encountered the problem of text length limit when replying. The actual content text can be up to 7200 characters, which exceeds the limit of WeChat (1400 characters). Chinese characters or less), resulting in an automatic reply with an unserviceable message every time. . .
Do you have any good suggestions from the experts?
Thanks in advance!

1. The returned text cannot be deleted;
2. Only text information is returned, not pictures or links.

1. Passive reply, only once.

2. There are two types of proactive messages, one is group messaging and the other is template message, neither of which are suitable for you.

Customer service message sent.

Check the word count before sending the reply. If it exceeds the max, it will be cut off and reply several times

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn