Sekedar meng-update tulisan sebelumnya soal menghubungkan dua aplikasi perpesanan yaitu WhatsApp dengan Telegram, karena mungkin sekarang tulisan lawas tersebut telah kurang relevan. Soalnya Matterbrigde secara enggak langsung menghilangkan dukungan buat WhatsApp.
pi@raspi3-matrix:~ $ ./matterbridge-1.25.2-linux-armv6 -conf mb.toml
[0000] INFO main: Running version 1.25.2 20f841c5
[0000] WARN whatsapp: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[0000] WARN whatsapp: This bridge is deprecated and not supported anymore. Use the new multidevice whatsapp bridge
[0000] WARN whatsapp: See https://github.com/42wim/matterbridge#building-with-whatsapp-beta-multidevice-support for more info
[0000] WARN whatsapp: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[0000] INFO router: Parsing gateway kuro-kepompong
[0000] INFO router: Parsing gateway t.me/halamanBelakang
[0000] INFO router: Starting bridge: whatsapp.mywhatsapp
Intinya kerjaan kita nambah satu. Yaitu harus compile
sendiri kalau mau pakai WhatsApp.
hilma@hilma-inspiron1122:~$ GOOS=linux GOARCH=arm GO111MODULE=on CGO_ENABLED=0 go install -tags whatsappmulti github.com/42wim/matterbridge@latest
Perintah di atas dengan skenario cross-compile ya.. Karena saya menjalankan Matterbridge di Raspberry 3, dan bukan ide sehat melakukan compiling
di Raspi3. Selanjutnya sama seperti tulisan sebelumnya ya buat konfigurasi Matterbride.
Assalamualaykum!
Referensi
https://github.com/42wim/matterbridge#building-with-whatsapp-beta-multidevice-support
https://chat.whatsapp.com/HmJhO0HmagP0pXJnUWVwtc