Skip to content

Commit 489a339

Browse files
Update messages-quickstart-interactive-messages-net.md
1 parent 06f09de commit 489a339

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/communication-services/quickstarts/advanced-messaging/whatsapp/includes/interactive/messages-quickstart-interactive-messages-net.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public async Task SendWhatsAppListMessage()
119119
interactionMessage
120120
);
121121

122-
var response = await notificationMessagesClient.SendAsync(interactiveMessageContent);
122+
SendMessageResult response = await notificationMessagesClient.SendAsync(interactiveMessageContent);
123123
Console.WriteLine($"Message with ID {response.Receipts[0].MessageId} was successfully sent.");
124124
}
125125
```
@@ -163,7 +163,7 @@ public async Task SendWhatsAppReplyButtonMessage()
163163
interactionMessage
164164
);
165165

166-
var response = await notificationMessagesClient.SendAsync(interactiveMessageContent);
166+
SendMessageResult response = await notificationMessagesClient.SendAsync(interactiveMessageContent);
167167
Console.WriteLine($"Message with ID {response.Receipts[0].MessageId} was successfully sent.");
168168
}
169169
```
@@ -200,7 +200,7 @@ public async Task SendWhatsAppClickToActionMessage()
200200
interactionMessage
201201
);
202202

203-
var response = await notificationMessagesClient.SendAsync(interactiveMessageContent);
203+
SendMessageResult response = await notificationMessagesClient.SendAsync(interactiveMessageContent);
204204
Console.WriteLine($"WhatsApp CTA Message with ID {response.Receipts[0].MessageId} was successfully sent.");
205205
}
206206
```
@@ -289,7 +289,7 @@ namespace InteractiveMessagesQuickstart
289289
interactionMessage
290290
);
291291

292-
var response = await notificationMessagesClient.SendAsync(interactiveMessageContent);
292+
SendMessageResult response = await notificationMessagesClient.SendAsync(interactiveMessageContent);
293293
Console.WriteLine($"Message with ID {response.Receipts[0].MessageId} was successfully sent.");
294294
}
295295

@@ -316,7 +316,7 @@ namespace InteractiveMessagesQuickstart
316316
interactionMessage
317317
);
318318

319-
var response = await notificationMessagesClient.SendAsync(interactiveMessageContent);
319+
SendMessageResult response = await notificationMessagesClient.SendAsync(interactiveMessageContent);
320320
Console.WriteLine($"Message with ID {response.Receipts[0].MessageId} was successfully sent.");
321321
}
322322

@@ -337,7 +337,7 @@ namespace InteractiveMessagesQuickstart
337337
interactionMessage
338338
);
339339

340-
var response = await notificationMessagesClient.SendAsync(interactiveMessageContent);
340+
SendMessageResult response = await notificationMessagesClient.SendAsync(interactiveMessageContent);
341341
Console.WriteLine($"WhatsApp CTA Message with ID {response.Receipts[0].MessageId} was successfully sent.");
342342
}
343343
}

0 commit comments

Comments
 (0)