Skip to content

Query Message implmentation #6

@knvpk

Description

@knvpk

Hi, Im trying to get the previous chat list of a contact or group, by debugging the whatsapp web im able to see that is related to query, as below

[
    "query",
    {
        count: "50",
        epoch: "5",
        index: "7A7B3E4A12A9F5BB266B1BBDE95EDF59",
        kind: "before",
        owner: "true",
        participant: undefined,
        type: "message",
        jid: {
            server: "c.us",
            user: "919133xxxxx",
            _serialized: "919133xxxxx@c.us"
        }

    },
    undefined
]

so im trying to implement it but getting error as writer:writeString passed non-string/wid type:, i think because the jid is Object in my message.

Can you tell me how to proceed furthur.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions