bivashy / whatsapp-telegram-transit

A message transit from WhatsApp to Telegram written in Java.
MIT License
0 stars 0 forks source link

[Feature] Add whatsapp linking #1

Open bivashy opened 3 weeks ago

bivashy commented 3 weeks ago

Description

We need command /link which will link Whatsapp to the Telegram account. User will be asked with prompt:

Select preferred way to log in:

  1. QR Code
  2. Pairing Code

[!NOTE]
Selection could be replaced with buttons.

And this will "create" session for telegram account. Then user could easily select account when "injecting" into forum.

bivashy commented 3 weeks ago

This would require database to store:

  1. Telegram ID
  2. Randomly generated UUID related to Whatsapp session
  3. Creation timestamp
  4. Modification timestamp