Wechat v0.4.0-rc.0 Wechat.API.CustomMessage View Source

Custom message API.

Link to this section Summary

Functions

Send news in a group. If sending more than 8 news, there will be no response

Send wechat media platform article

Send plain text message

Send wechat card or coupon

Link to this section Functions

Link to this function send_bulk_news(openid, articles, client) View Source

Send news in a group. If sending more than 8 news, there will be no response.

Link to this function send_image(openid, media_id, client) View Source

Send image message.

Link to this function send_link(openid, opts, client) View Source

Send link.

Link to this function send_mini_program_page(openid, opts, client) View Source

Send mini program page.

Link to this function send_mpnews(openid, media_id, client) View Source

Send wechat media platform article.

Link to this function send_music(openid, opts, client) View Source

Send music message.

Link to this function send_text(openid, content, client) View Source

Send plain text message.

Open mini program text: Click.

Link to this function send_video(openid, opts, client) View Source

Send video message.

Link to this function send_voice(openid, media_id, client) View Source

Send voice message.

Link to this function send_wxcard(openid, card_id, client) View Source

Send wechat card or coupon.