मुख्य सामग्री पर जाएं
POST
DM वार्तालाप बनाएँ

प्राधिकरण

Authorization
string
header
आवश्यक

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

dm.write

Send and manage your Direct Messages.

tweet.read

View all Posts you can see, including those from protected accounts.

users.read

View any account you can see, including protected accounts.

बॉडी

application/json
conversation_type
enum<string>
आवश्यक

बनाए जा रहे conversation का type।

उपलब्ध विकल्प:
Group
message
object
आवश्यक
participant_ids
string[]
आवश्यक

DM बातचीत के प्रतिभागी।

Required array length: 2 - 49 elements

इस उपयोगकर्ता का विशिष्ट पहचानकर्ता। इसे स्ट्रिंग के रूप में लौटाया जाता है, ताकि उन भाषाओं और टूल्स से जुड़ी जटिलताओं से बचा जा सके जो बड़े पूर्णांकों को संभाल नहीं सकते।

Pattern: ^[0-9]{1,19}$

प्रतिक्रिया

अनुरोध सफल रहा।

data
object
errors
object[]
Minimum array length: 1

IETF RFC 7807 (https://tools.ietf.org/html/rfc7807) में परिभाषित एक HTTP Problem Details ऑब्जेक्ट।