Concord - C Discord API library
A Discord API wrapper library written in C
discord_role Struct Reference

#include <permissions.h>

Collaboration diagram for discord_role:
[legend]

Data Fields

u64snowflake id
 
char * name
 
int color
 
bool hoist
 
char * icon
 
char * unicode_emoji
 
int position
 
u64bitmask permissions
 
bool managed
 
bool mentionable
 
struct discord_role_tagtags
 

Detailed Description

Field Documentation

◆ id

u64snowflake discord_role::id

role id

Examples
guild.c.

◆ name

char* discord_role::name

role name

◆ color

int discord_role::color

integer representationof hexadecimal color code

◆ hoist

bool discord_role::hoist

if this role is pinned in the user listing

◆ icon

char* discord_role::icon

role icon hash

◆ unicode_emoji

char* discord_role::unicode_emoji

role unicode emoji

◆ position

int discord_role::position

position of this role

◆ permissions

u64bitmask discord_role::permissions

permission bit set

◆ managed

bool discord_role::managed

whether this role is managed by an integration

◆ mentionable

bool discord_role::mentionable

whether this roleis mentionable

◆ tags

struct discord_role_tag* discord_role::tags

the tags this role has


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