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

#include <guild.h>

Collaboration diagram for discord_integration:
[legend]

Data Fields

u64snowflake id
 
char * name
 
char * type
 
bool enabled
 
bool syncing
 
u64snowflake role_id
 
bool enable_emoticons
 
enum discord_integration_expire_behaviors expire_behavior
 
int expire_grace_period
 
struct discord_useruser
 
struct discord_integration_accountaccount
 
u64unix_ms synced_at
 
int subscriber_count
 
bool revoked
 
struct discord_integration_applicationapplication
 
u64snowflake guild_id
 

Detailed Description

Field Documentation

◆ id

u64snowflake discord_integration::id

integration id

◆ name

char* discord_integration::name

integration name

◆ type

char* discord_integration::type

integration type (twitch, youtube, or discord)

◆ enabled

bool discord_integration::enabled

is this integration enabled

◆ syncing

bool discord_integration::syncing

is this integration syncing

◆ role_id

u64snowflake discord_integration::role_id

ID that this integration uses for "subscribers"

◆ enable_emoticons

bool discord_integration::enable_emoticons

whether emoticons should be synced for this integration (twitch only currently)

◆ expire_behavior

enum discord_integration_expire_behaviors discord_integration::expire_behavior

the behavior of expiring subscribers

◆ expire_grace_period

int discord_integration::expire_grace_period

the grace period (in days) before expiring subscribers

◆ user

struct discord_user* discord_integration::user

user for this integration

◆ account

struct discord_integration_account* discord_integration::account

integration account information

◆ synced_at

u64unix_ms discord_integration::synced_at

when this integration was last synced

◆ subscriber_count

int discord_integration::subscriber_count

how many subscribers this integration has

◆ revoked

bool discord_integration::revoked

has this integration been revoked

◆ application

struct discord_integration_application* discord_integration::application

the bot/OAuth2 application for discord integrations

◆ guild_id

u64snowflake discord_integration::guild_id

id of the guild

Note
extra field that may be included at Integration Create or Integration Update

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