Packages

p

wechaty

package wechaty

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class JavaDingDongBot extends AnyRef

    Since

    2020-06-04

  2. class Wechaty extends LazyLogging with PuppetResolver
  3. class WechatyOptions extends AnyRef
  4. trait WechatyPlugin extends AnyRef

    wechaty plugin

    wechaty plugin

    Since

    2020-06-19

Value Members

  1. object DingDongBot

    Since

    2020-06-02

  2. object DingDongPadplusBot

    Since

    2020-06-02

  3. object Wechaty

    * Main bot class.

    * Main bot class.

    A Bot is a WeChat client depends on which puppet you use.

    See more: - [What is a Puppet in Wechaty](https://github.com/wechaty/wechaty-getting-started/wiki/FAQ-EN#31-what-is-a-puppet-in-wechaty)

    > If you want to know how to send message, see [Message](#Message)
    > If you want to know how to get contact, see [Contact](#Contact)

    Example:
    1. The World's Shortest ChatBot Code: 6 lines of Scala val options = new WechaytOptions val bot = Wechaty.instance(options) bot.onScan(payload => println("['https://api.qrserver.com/v1/create-qr-code/?data=',encodeURIComponent(qrcode),'&size=220x220&margin=20',].join()")) bot.onLogin(user => println("User ${user} logged in")) bot.onMessage(message => println("Message: ${message}")) bot.start()

    Since

    2020-06-01

Ungrouped