Home / Servers / X (Twitter) API / update_chat_settings
Update Chat Settings
An MCP tool from the X (Twitter) API server, hosted on mcp.hjlabs.in.
Update Chat Settings Updates the authenticated user's Chat privacy settings: who can message them, read receipts, the message quality filter, and audio/video call permissions. allow_dms_from, dm_receipt_settings, and… [PUT /2/chat/settings]
Name on the gateway: x_api__update_chat_settings · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
allow_dms_from required | all | verified | following | Who can send the user messages: all (anyone), verified (verified accounts… |
always_allow_dms_from_subscribers | boolean | Whether the user's subscribers can always message them regardless of… |
av_settings | object | Audio and video call settings. |
dm_quality_filter | enabled | disabled | Low-quality message request filter: enabled (low-quality requests go to a… |
dm_receipt_settings | all_enabled | all_disabled | Read receipts: all_enabled (send and receive read receipts) or all_disabled… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "x_api__update_chat_settings",
"arguments": {
"allow_dms_from": "…"
}
}Or connect the X (Twitter) API server directly, which lists 258 tools including this one:
claude mcp add --transport http hj-x-api https://mcp.hjlabs.in/mcp/x-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the update chat settings tool with allow_dms_from set to ….