Skip to content

Query Message implmentation #6

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: "[email protected]"
        }

    },
    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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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