Rhymen / go-whatsapp

WhatsApp Web API
MIT License
2.05k stars 490 forks source link

Binary message settings #595

Open danielspk opened 2 years ago

danielspk commented 2 years ago

Hello. I am decoding the binary messages sent by WhatsApp Web since with the go-whatsapp library I get many more "asleep" messages than those received by WhatsApp Web.

At the moment I notice that WhatsApp Web periodically sends the following type of message: "settings". Example:

{
    desc: "query",
    attributes: {
        "epoch": 32,
        "type": settings,
    },
    content: None,
}

I do not see that this type of message is implemented in the go-whatsapp library. Does anyone know what it is used for?.

Thanks.