Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 1.18 KB

File metadata and controls

16 lines (11 loc) · 1.18 KB

SendDiscordDirectMessageRequest

Properties

Name Type Description Notes
account_id String SocialAccount _id of the connected Discord account the bot speaks as. Caller must own the account (directly or via team membership).
user_id String Discord snowflake ID of the recipient (15-21 digits).
content Option<String> Message text, up to 2,000 characters. [optional]
embeds Option<Vec<serde_json::Value>> Up to 10 Discord embeds. Same shape as channel-post embeds (title, description, color, fields, etc.). See DiscordPlatformData.embeds for the embed object schema. [optional]
attachments Option<Vecmodels::SendDiscordDirectMessageRequestAttachmentsInner> Up to 10 media attachments. Each is `{ type: image video
tts Option<bool> Send as text-to-speech message. [optional]

[Back to Model list] [Back to API list] [Back to README]