Concord - C Discord API library
A Discord API wrapper library written in C
Voice

Voice's public API supported by Concord. More...

Collaboration diagram for Voice:

Data Structures

struct  discord_ret_voice_regions
 Request's return context. More...
 

Functions

CCORDcode discord_list_voice_regions (struct discord *client, struct discord_ret_voice_regions *ret)
 Get voice regions that can be used when setting a voice or stage channel's rtc_region More...
 

Detailed Description

Voice's public API supported by Concord.

Function Documentation

◆ discord_list_voice_regions()

CCORDcode discord_list_voice_regions ( struct discord client,
struct discord_ret_voice_regions ret 
)

Get voice regions that can be used when setting a voice or stage channel's rtc_region

Parameters
clientthe client created with discord_init()
retreturn context of the request. if successful a discord_voice_regions will be sent over to its assigned done callback
See also
discord_ret_voice_regions for more options
Returns
CCORDcode value for how the operation went, CCORD_OK means nothing out of the ordinary