Skip to main content
POST

Authorizations

token
string
header
required

Body

application/json
jid
string
required

Channel JID. Accepts the full format 120363123456789012@newsletter or just the numeric identifier.

Example:

"120363123456789012@newsletter"

messageid
string

Logical ID of the message in the channel.

Example:

"3EB0B4302B3A8A52F7A1"

serverid
integer

Sequential identifier of the post in the channel.

Required range: x >= 1
Example:

12345

text
string

New text or new caption of the post.

Example:

"Post updated"

caption
string

Alias of text to update the caption of media posts.

Example:

"New caption"

mediahandle
string

Already known media handle, used when the edit needs to preserve the post's media.

count
integer

Number of messages fetched per page when locating the post.

Required range: x >= 1
Example:

100

maxpages
integer

Maximum number of pages fetched when locating the post.

Required range: x >= 1
Example:

5

Response

Channel message edited successfully

response
object
required