uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
const struct discord_message * discord_cache_get_channel_message(struct discord *client, u64snowflake channel_id, u64snowflake message_id)
Get a message from cache, only if locally available in RAM.
void discord_cache_enable(struct discord *client, enum discord_cache_options options)
discord_cache_options
Definition: discord-cache.h:15
const struct discord_guild * discord_cache_get_guild(struct discord *client, u64snowflake guild_id)
Get a guild from cache, only if locally available in RAM.
@ DISCORD_CACHE_GUILDS
Definition: discord-cache.h:17
@ DISCORD_CACHE_MESSAGES
Definition: discord-cache.h:16
Definition: channel.h:195
u64snowflake channel_id
Definition: channel.h:199
The Discord client handler.
Definition: discord-internal.h:1190