Skip to main content

Client Voice API Reference

Used to obtain information such as tickets required for voice.

API List

APIDescription
GetGmeTicketRequest a gme ticket.

API Details

GetGmeTicket

Request a gme ticket.

/**
* Request a gme ticket.
*
* @param voice_channel_id A custom ID used to identify the voice channel.
* @param result_callback The result callback after the API execution ends, and it will be called in an ASYNCHRONOUS CHILD THREAD.
*/
void GetGmeTicket(
const pgos::pstring& voice_channel_id,
PgosDataCallback<GetGmeTicketResult> result_callback);

Parameters:

ParamTypeDescription
voice_channel_idconst std::string&A custom ID used to identify the voice channel.
result_callbackPgosDataCallback<GetGmeTicketResult>The result callback after the API execution ends, and it will be called in an ASYNCHRONOUS CHILD THREAD.

Return: void