示例#1
0
        static async Task CreateComplianceJobAsync(TwitterContext twitterCtx)
        {
            ComplianceJob?job = await twitterCtx.CreateComplianceJobAsync("test", true);

            if (job is not null)
            {
                Console.WriteLine(
                    $"\nName: {job.JobName}" +
                    $"\nStatus: {job.Status}");
            }
            else
            {
                Console.WriteLine("Job not returned");
            }
        }