Messages
Update message
Changed onEdits the content, attachments, or pinned status of a message in an experience chat, DM, or group chat channel.
Required permissions (one of):
- chat:message:create
- dms:message:manage
- livestream:chat:write
- support_chat:message:create
patch/messages/{id}
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/messages/{id}
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Path parameters
idstring required
The unique identifier of the message to update.
Request body
Response
A successful response
Example response
{
"content": "Hey, are you available for a **quick call**?",
"created_at": "2023-12-01T05:00:00.401Z",
"poll_votes": [
{
"count": 42
}
],
"reaction_counts": [
{
"count": 42
}
],
"updated_at": "2023-12-01T05:00:00.401Z",
"user": {
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
},
"view_count": 42
}Changes
- info
the security scope
chat:message:createwas added to the endpoint's security schemebearerAuth - info
the security scope
support_chat:message:createwas removed from the endpoint's security schemebearerAuth
- info
- info
the security scope
chat:message:createwas added to the endpoint's security schemebearerAuth - info
the security scope
support_chat:message:createwas removed from the endpoint's security schemebearerAuth
- info