Перейти к содержанию

Discord::requestOAuth2

Материал из RAGE MP Wiki Archive
Версия от 19:24, 24 ноября 2024; imported>Shr0x (Created page with "{{ClientsideJsFunction}} {{JSContainer| == Summary == Initiates an OAuth2 authorization flow for a specified Discord application. Returns a `Promise` resolving with an authorization code. == Syntax == <syntaxhighlight lang="javascript"> Promise<string> mp.discord.requestOAuth2(string applicationId); </syntaxhighlight> === Required Arguments === * '''applicationId:''' {{RageType|string}} - The Client ID of the Discord application. === Return Value === * '''Promise<stri...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)