This client uses android API to mimic browser calls to connect to and manage messages from https://messages.google.com/web/conversations
Node
- extract QR code image
- refresh token
- read incoming messages
- read messages for contact
- send message to existing contact
- download images
- download attachments
- send images/attachments
- send message to new number
Go
- extract QR code image
- refresh token
- read incoming messages
- read messages for contact
- send message to existing contact
- download images
- download attachments
- send images/attachments
- send message to new number
- The following tests will start the connection, and if needed, generate a new QR image file in the source data folder.
- Open and scan image using messages app
- All events should fire and show in console
- After auth, all required auth data is stored in a sessiondata JSON file in data folder.
- If session file already exists, then initial QR not required, and will connect and refresh token where needed
cd myjsapp
docker compose up --build
cd myjsapp
npm install
node src/test.js
cd mygoapp
docker compose up --build
cd mygoapp
go run dhmessagestest