Exemplo n.º 1
0
    public static void Main(string[] args)
    {
        // Find your Account SID and Auth Token at twilio.com/console
        const string accountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
        const string authToken  = "your_auth_token";

        const string serviceSid = "ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";

        TwilioClient.Init(accountSid, authToken);

        UserResource user = UserResource.create(
            identity: "User0001",
            segment: new List <string> {
            "premium", "fitness-lifestyle"
        });

        Console.WriteLine(user.Sid);
    }