Skip to content

[feature request] handle timelock events as first class citizen event to allow clients to handle it better #2166

Description

@nagi1

Is your feature request related to a problem? Please describe.

Whatsapp introduced a new thing called Timelock when you send messages to new contacts your account gets shadow banned for number of hours/days and so...

Describe the solution you'd like

we need a way that waha reports this as first class event instead of listening to engine.event events
also we can follow up with whatsmeow issue for more info.

this is the main issue for "server returned error 463" error

Additional context

{
	"entity.name": "app",
	"env": "production",
	"hostname": "app",
	"instance_uuid": "<uuid>",
	"ip_request": "127.0.0.1",
	"level": "INFO",
	"message": "engine.event",
	"newrelic.logPattern": "nr.DID_NOT_MATCH",
	"newrelic.source": "api.logs",
	"reference": "01KXBP670BWNT5HM3NRQAMG15Z",
	"request.environment.engine": "GOWS",
	"request.environment.platform": "linux/x64",
	"request.environment.tier": "CORE",
	"request.environment.version": "2026.6.2",
	"request.environment.worker.id": "server",
	"request.event": "engine.event",
	"request.id": "evt_01kxbp660909x2f6wjqqhq5zhf",
	"request.me.id": "201223242242@c.us",
	"request.me.jid": "2442242424:79@s.whatsapp.net",
	"request.me.lid": "242424535@lid",
	"request.payload.data.enforcement_type": "RESTRICT_ALL_COMPANIONS",
        "request.payload.event": "events.NotifyAccountReachoutTimelock",
	"request.payload.data.is_active": true,
	"request.payload.data.time_enforcement_ends": "1784477333",
	"request.payload.session": "1315-instance-1557",
	"request.session": "1315-instance-1557",
	"request.timestamp": 1783877539850,
	"timestamp": 1783877542000,
	"url": "https://app.example.com"
}

The important keys here is

	"request.payload.data.enforcement_type": "RESTRICT_ALL_COMPANIONS",
        "request.payload.event": "events.NotifyAccountReachoutTimelock",

@devlikepro This is very important to handle because it the most logged and complained error on my logs.

patron:PLUS

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions