@@ -74,29 +74,33 @@ public static async System.Threading.Tasks.Task<InteractionResource> CreateAsync
7474 /// <summary> Create a new Interaction. </summary>
7575 /// <param name="channel"> The Interaction's channel. </param>
7676 /// <param name="routing"> The Interaction's routing logic. </param>
77+ /// <param name="interactionContextSid"> The Interaction context sid is used for adding a context lookup sid </param>
7778 /// <param name="client"> Client to make requests to Twilio </param>
7879 /// <returns> A single instance of Interaction </returns>
7980 public static InteractionResource Create (
8081 object channel ,
8182 object routing ,
83+ string interactionContextSid = null ,
8284 ITwilioRestClient client = null )
8385 {
84- var options = new CreateInteractionOptions ( channel , routing ) { } ;
86+ var options = new CreateInteractionOptions ( channel , routing ) { InteractionContextSid = interactionContextSid } ;
8587 return Create ( options , client ) ;
8688 }
8789
8890 #if ! NET35
8991 /// <summary> Create a new Interaction. </summary>
9092 /// <param name="channel"> The Interaction's channel. </param>
9193 /// <param name="routing"> The Interaction's routing logic. </param>
94+ /// <param name="interactionContextSid"> The Interaction context sid is used for adding a context lookup sid </param>
9295 /// <param name="client"> Client to make requests to Twilio </param>
9396 /// <returns> Task that resolves to A single instance of Interaction </returns>
9497 public static async System . Threading . Tasks . Task < InteractionResource > CreateAsync (
9598 object channel ,
9699 object routing ,
100+ string interactionContextSid = null ,
97101 ITwilioRestClient client = null )
98102 {
99- var options = new CreateInteractionOptions ( channel , routing ) { } ;
103+ var options = new CreateInteractionOptions ( channel , routing ) { InteractionContextSid = interactionContextSid } ;
100104 return await CreateAsync ( options , client ) ;
101105 }
102106 #endif
@@ -204,6 +208,10 @@ public static InteractionResource FromJson(string json)
204208 [ JsonProperty ( "links" ) ]
205209 public Dictionary < string , string > Links { get ; private set ; }
206210
211+ ///<summary> The interaction_context_sid </summary>
212+ [ JsonProperty ( "interaction_context_sid" ) ]
213+ public string InteractionContextSid { get ; private set ; }
214+
207215
208216
209217 private InteractionResource ( ) {
0 commit comments