Orca
A bot framework that is easy to reason about, easy to debug, and easy to use.
Public Attributes | List of all members
discord_create_message_params Struct Reference

#include <discord.h>

Collaboration diagram for discord_create_message_params:
Collaboration graph
[legend]

Public Attributes

char * content
 the content of the message being sent More...
 
char * nonce
 the nonce of the message being sent
 
bool tts
 enable/disable text-to-speech
 
struct discord_embedembed
 
struct discord_channel_allowed_mentionsallowed_mentions
 
struct discord_message_referencemessage_reference
 
struct {
   char *   name
 the name of the file being sent
 
   char *   content
 the contents of the file being sent (optional)
 
   size_t   size
 the size of the file being sent (if content is set)
 
file
 
char * payload_json
 

Detailed Description

Todo:
make this specs generated code
Warning
content-type sent is application/json, UNLESS any multipart/form-data parameter is set

Member Data Documentation

◆ content

char* discord_create_message_params::content

the content of the message being sent

the contents of the file being sent (optional)


The documentation for this struct was generated from the following file: