Skip to main content
Version: 5.11.8

ApplyGuildV3

public BackendReturnObject ApplyGuildV3(string guildIndate);

Parameter

ValueTypeDescription
guildIndatestringindate of the guild to apply for

Description

A request is sent to join a particular guild.
To apply, the joining conditions registered in BACKND Console > Social Management > Settings > Guild must be met. If no condition is set, any member can apply to join the guild.

  • If quick join is set in the guild, the user joins the selected guild immediately.
  • If quick join is not set in the guild, the user can join the guild only after the guild master or vice guild master approves the application.

Example

Synchronous

Backend.Guild.ApplyGuildV3("guildIndate");

Asynchronous

Backend.Guild.ApplyGuildV3("guildIndate", (callback) => 
{
// Post-process
});

SendQueue

SendQueue.Enqueue(Backend.Guild.ApplyGuildV3,"guildIndate", (callback) => 
{
// Post-process
});

Return cases

Success cases

When the request is successful
statusCode : 204

Error cases

When a user who does not meet console setting conditions tries to join a guild
statusCode : 403
errorCode : ForbiddenError

When the name of the guild does not exist
statusCode : 404
errorCode : NotFoundException

When it is a request to join the same guild again
statusCode : 409
errorCode : DuplicatedParameterException

When the user is already in a guild
statusCode : 412
errorCode : PreconditionFailed

When the number of guild members is already more than 100
statusCode : 429
errorCode : Too Many Request