|
dscrd
Discord C library
|
#include <dscrd.h>

Data Fields | |
| char | id [21] |
| message ID More... | |
| uint8_t | _type |
| reserved More... | |
| char | channel_id [21] |
| channel ID More... | |
| DiscordUser * | author |
| author More... | |
| char * | content |
| contents of the message More... | |
| char * | timestamp |
| when this message was sent More... | |
| char * | edited_timestamp |
| when this message was edited (or null if never) More... | |
| bool | tts |
| whether this was a TTS message More... | |
| bool | mention_everyone |
| whether this message mentions everyone More... | |
| DiscordUser ** | mentions |
| users specifically mentioned in the message More... | |
| char | nonce [21] |
| roles specifically mentioned in this message More... | |
| bool | pinned |
| whether this message is pinned More... | |
| char | webhook_id [21] |
| if the message is generated by a webhook, this is the webhook's id More... | |
| int | type |
| type of message More... | |
| DiscordClient * | discord_client |
| uint8_t _type |
reserved
| DiscordUser* author |
author
| char channel_id[21] |
channel ID
| char* content |
contents of the message
| DiscordClient* discord_client |
| char* edited_timestamp |
when this message was edited (or null if never)
| char id[21] |
message ID
| bool mention_everyone |
whether this message mentions everyone
| DiscordUser** mentions |
users specifically mentioned in the message
| char nonce[21] |
roles specifically mentioned in this message
array of attachment objects any attached files reactions to the message used for validating a message was sent
| bool pinned |
whether this message is pinned
| char* timestamp |
when this message was sent
| bool tts |
whether this was a TTS message
| int type |
type of message
| char webhook_id[21] |
if the message is generated by a webhook, this is the webhook's id
1.8.13