TokenAccount or TokenInstance on every route. Each call validates the instance ownership.
This section covers the /api/newsletter/* routes for creating channels, listing subscriptions, getting details, following, and unfollowing. Channels have JIDs ending in @newsletter (different from group @g.us JIDs).
Endpoints
Accepted identifiers
Theinfo, join, and leave endpoints accept:
NewsletterChannel model
Channel states
Error envelope
WhatsMeow client support
Error reference (summary)
Next
Create channel
Create a new channel linked to the account.
List channels
Return subscribed channels.