工具 API

chat.media.get

Downloads encrypted media bytes from an XChat conversation. The response body contains raw binary bytes with content type application/octet-stream, despite the application/json declaration here (a platform limitation).

socialOAuth1 积分

调用信息

工具标识
twitter.chat.media.get
服务提供方
Twitter / X
平均响应
0 ms
近 7 天调用
0

输入参数

conversation_id必填

Unique identifier of an Chat conversation. Format is either two user IDs separated by a hyphen (e.g., '1215441834412953600-1603419180975409153') for direct conversations, or 'g' followed by a numeric ID (e.g., 'g1234567890123456789') for group conversations.

media_hash_key必填

The media hash key returned from the upload initialize step. Alphanumeric characters only.