Scala Wechaty is a Scala programming client derived from the Wechaty ecosystem. Scala's static types help avoid bugs in complex applications, hence Scala wechaty is very easy to use, implement and is also very efficient. You can find more information on Scala-Wechaty here. The General Architecture Diagram illustrates how the Scala-Wechaty can be implemented on the already existing TypeScript Wechaty ecosystem.
- Stable interaction with back-end gRPC, continuous and stable operation.
- The front end implements some functions of
Run the below command for starting the Scala-Wechaty bot.
git clone firstname.lastname@example.org:wechaty/scala-wechaty-getting-started.gitcd scala-wechaty-getting-startedmake installexport WECHATY_PUPPET=wechaty-puppet-hostieexport WECHATY_PUPPET_HOSTIE_TOKEN=your_token_at_heremake bot # orscala examples/ding-dong-bot.scala
There is a hundred (100) lines class named
Image in charge of downloading the WeChat image to different sizes. Below are the links to the Image class for both TypeScript and Scala for a better understanding of the code and the translation.
Do checkout the blogs and Github links to get more details about the Scala-Wechaty.
For more information on the Scala-Wechaty releases and its history the below link can be visited.