{"hash":"0xCBBC3FAC","ns":"CFX","name":"SET_DISCORD_RICH_PRESENCE_ACTION","slug":"SET_DISCORD_RICH_PRESENCE_ACTION","official":true,"named":true,"luaName":"SetDiscordRichPresenceAction","game":"cfx","apiset":"client","returnType":"void","params":[{"name":"index","type":"int","description":"The button index, either 0 or 1."},{"name":"label","type":"char*","description":"The text to display on the button."},{"name":"url","type":"char*","description":"The URL to open when clicking the button. This has to start with `fivem://connect/` or `https://`."}],"summary":"Sets a clickable button to be displayed in a player's Discord rich presence.","descriptions":[{"source":"cfx","format":"md","body":"Sets a clickable button to be displayed in a player's Discord rich presence."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_DISCORD_RICH_PRESENCE_ACTION","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_DISCORD_RICH_PRESENCE_ACTION.md","snippets":{"lua":"SetDiscordRichPresenceAction(index, label, url)","luaInvoke":"Citizen.InvokeNative(0xcbbc3fac, index, label, url)","js":"SetDiscordRichPresenceAction(index, label, url);","jsInvoke":"Citizen.invokeNative('0xcbbc3fac', index, label, url);","csharp":"Function.Call((Hash)0xcbbc3fac, index, label, url);","notes":[]}}