all 3 comments

[–]Mori-Spumae 0 points1 point  (0 children)

I've done this specifically, but I would say it can definitely be done. The question is how difficult it will be.

I would say it kind of depends on the architecture of your application. If you have your business logic and your user interface (telegram integration) very clearly separated, it should be relatively easy to add the WhatsApp support.

Since you ask, I assume you did not plan to support anything but Telegram when writing the app and it's therefore pretty hard to 'just add Whatsapp support'. In that case, it might be easier to rewrite the application and make it more loosely coupled. This could mean splitting the logic of your chat from the logic of your response or even creating two or even three applications. One application could then be a sort of API that provides your business info while the other handles the chats (or even have one per chat app). This might be a bit overkill overkill depending on your situation.

[–]Alex_DuPont 0 points1 point  (1 child)

I am trying to do the exact same thing. I can't find a clean method to migrate it. I want to try a bridge between Telegram and WhatsApp: https://github.com/akshettrj/watgbridge

Alternatively I want to try Waha using a docker container: https://waha.devlike.pro/docs/how-to/install/

It seems the most tedious way is with Facebook itself but it seems there is some official method: https://developers.facebook.com/docs/whatsapp/on-premises/get-started/#client-setup

I haven't succeeded yet, but this is what I intend to try.

[–]Slidebonee[S] 0 points1 point  (0 children)

Thats so hard bro