Exemplo n.º 1
0
        public static void TestChallengeRequest()
        {
            var task = Webhooks.ChallengeWebhookAsync(webHookEnvironmentName, webHookID, Tweetinvi.Auth.Credentials);

            task.Wait();
        }
        public async Task <bool> ChallengeWebhook(string environment, string webhookId, string userId)
        {
            var userCredentials = await CredentialsRetriever.GetUserCredentials(userId);

            return(await Webhooks.ChallengeWebhookAsync(environment, webhookId, userCredentials));
        }