edwardluzi / spring-social-wechat

Apache License 2.0
3 stars 1 forks source link

Send text message #1

Open zhmq0124v opened 8 years ago

zhmq0124v commented 8 years ago

How to send a text message? I see there is a method to send Template Message, but how to send text message? Thanks

edwardluzi commented 8 years ago

hi zhmq0124v,

I'm afraid there is no way to initial a conversation from server side, it is maybe a policy of Wechat ( to avoid end user was disturbed by message flood and or improper content), Only template message is allowed to to end users, because message template will be reviewed and hence it is "safe" to send them to group of end user.

Text message works on request and response way. If an end user send a message to your account, then you can return him/her a text message.

Attache is a piece of source code, FYI. let me know if you have any more question.

Regards, Edward

On Fri, Jul 15, 2016 at 8:54 AM, zhmq0124v notifications@github.com wrote:

How to send a text message? I see there is a method to send Template Message, but how to send text message? Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/edwardluzi/spring-social-wechat/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AOSKaNJYVD6vppsuHHuPNj0msvyaQSxqks5qV0q3gaJpZM4JNM0G .