Skip to content

Is there any way to diferentiate between messages sent throught WppConnect and from another device? #2682

Description

@Maleriandro

Currently i am using the onAnyMessage() method to detect any message received. But i want to be able to differentiate between messages that i sent from the server (wppconnect), and messages that I sent from any other device.

Is there any way to do this?

Tried using the ID of the message sent, but is a bit messy. is there any other way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions