Skip to content

Commit a9e1f00

Browse files
committed
comments fix
1 parent b66eb3c commit a9e1f00

File tree

6 files changed

+36
-42
lines changed

6 files changed

+36
-42
lines changed

articles/communication-services/concepts/includes/identifiers/identifiers-android.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ PhoneNumberIdentifier phoneNumber = new PhoneNumberIdentifier("+112345556789");
7171

7272
[PhoneNumberIdentifier](https://azure.github.io/azure-sdk-for-android/azure-communication-common/com/azure/android/communication/common/PhoneNumberIdentifier.html)
7373

74-
### Microsoft Bot Identifier
74+
### Microsoft bot
7575

7676
> [!NOTE]
7777
> The Microsoft Bot Identifier is currently in public preview. For more information about previews, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
@@ -81,22 +81,21 @@ The `MicrosoftBotIdentifier` interface represents a Microsoft bot with its Azure
8181
#### Basic usage
8282

8383
```java
84-
// get the Microsoft bot's ID from Graph APIs
84+
// Get the Microsoft bot's ID from Graph APIs
8585
UserCollectionPage users = graphClient.users()
8686
.buildRequest()
8787
.filter(filterConditions)
8888
.select("displayName,id")
8989
.get();
9090

91-
//here we assume that you have a function getBotFromUsers that gets the bot from the returned response
91+
//Here we assume that you have a function getBotFromUsers that gets the bot from the returned response
9292
User bot = getBotFromUsers(users);
9393

94-
// create an identifier
94+
// Create an identifier
9595
MicrosoftBotIdentifier botIdentifier = new MicrosoftBotIdentifier(bot.id);
9696

97-
// if you're not operating in the public cloud, you must also pass the right Cloud type.
98-
// You can also specify tenantized bots by setting the isResourceAccountConfigured flag to true.
99-
// The flag is false if the bot is global and no resource account is configured.
97+
// If you're not operating in the public cloud, you must also pass the right Cloud type.
98+
// If you use Azure Bot Framework instead of Teams Voice applications, set property isResourceAccountConfigured to false.
10099
MicrosoftBotIdentifier gcchBotIdentifier = new MicrosoftBotIdentifier(bot.id, true, CommunicationCloudEnvironment.GCCH);
101100
```
102101

articles/communication-services/concepts/includes/identifiers/identifiers-ios.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ let phoneNumber = PhoneNumberIdentifier(phoneNumber: "+112345556789")
6767

6868
[PhoneNumberIdentifier](https://azure.github.io/azure-sdk-for-ios/AzureCommunicationCommon/Classes/PhoneNumberIdentifier.html)
6969

70-
### Microsoft Bot Identifier
70+
### Microsoft bot
7171

7272
> [!NOTE]
7373
> The Microsoft Bot Identifier is currently in public preview. For more information about previews, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
@@ -76,15 +76,14 @@ The `MicrosoftBotIdentifier` interface represents a Microsoft bot with its Azure
7676
#### Basic usage
7777

7878
```swift
79-
// get the Microsoft bot's ID from Graph APIs, assuming a helper method for the Graph API
79+
// Get the Microsoft bot's ID from Graph APIs, assuming a helper method for the Graph API
8080
let botId = await getBotIdFromGraph()
8181

82-
// create an identifier
82+
// Create an identifier
8383
let botIdentifier = MicrosoftBotIdentifier(botId: botId)
8484

85-
// if you're not operating in the public cloud, you must also pass the right Cloud type.
86-
// You can also specify tenantized bots by setting the isResourceAccountConfigured flag to true.
87-
// The flag is false if the bot is global and no resource account is configured.
85+
// If you're not operating in the public cloud, you must also pass the right Cloud type.
86+
// If you use Azure Bot Framework instead of Teams Voice applications, set property isResourceAccountConfigured to false.
8887
let gcchBotIdentifier = MicrosoftBotIdentifier(botId: botId, isResourceAccountConfigured: true, cloudEnvironment: CommunicationCloudEnvironment.Gcch)
8988
```
9089

articles/communication-services/concepts/includes/identifiers/identifiers-java.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ var phoneNumber = new PhoneNumberIdentifier("+112345556789");
7171

7272
[PhoneNumberIdentifier](/java/api/com.azure.communication.common.phonenumberidentifier)
7373

74-
### Microsoft Bot Identifier
74+
### Microsoft bot
7575

7676
> [!NOTE]
7777
> The Microsoft Bot Identifier is currently in public preview. For more information about previews, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
@@ -81,22 +81,21 @@ The `MicrosoftBotIdentifier` interface represents a Microsoft bot with its Azure
8181
#### Basic usage
8282

8383
```java
84-
// get the Microsoft bot's ID from Graph APIs
84+
// Get the Microsoft bot's ID from Graph APIs
8585
var user = graphClient.users()
8686
.buildRequest()
8787
.filter(filterConditions)
8888
.select("displayName,id")
8989
.get();
9090

91-
//here we assume that you have a function getBotFromUsers that gets the bot from the returned response
91+
//Here we assume that you have a function getBotFromUsers that gets the bot from the returned response
9292
var bot = getBotFromUsers(users);
9393

94-
// create an identifier
94+
// Create an identifier
9595
var botIdentifier = new MicrosoftBotIdentifier(bot.id);
9696

97-
// if you're not operating in the public cloud, you must also pass the right Cloud type.
98-
// You can also specify tenantized bots by setting the isResourceAccountConfigured flag to true.
99-
// The flag is false if the bot is global and no resource account is configured.
97+
// If you're not operating in the public cloud, you must also pass the right Cloud type.
98+
// If you use Azure Bot Framework instead of Teams Voice applications, set property isResourceAccountConfigured to false.
10099
var gcchBotIdentifier = new MicrosoftBotIdentifier(bot.id, true, CommunicationCloudEnvironment.GCCH);
101100
```
102101

articles/communication-services/concepts/includes/identifiers/identifiers-js.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const phoneNumber = { phoneNumber: "+112345556789" };
6969

7070
[PhoneNumberIdentifier](/javascript/api/@azure/communication-common/phonenumberidentifier)
7171

72-
### Microsoft Bot Identifier
72+
### Microsoft bot
7373

7474
> [!NOTE]
7575
> The Microsoft Bot Identifier is currently in public preview. For more information about previews, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
@@ -79,20 +79,19 @@ The `MicrosoftBotIdentifier` interface represents a Microsoft bot with its Azure
7979
#### Basic usage
8080

8181
```javascript
82-
// get the Microsoft bot's ID from Graph APIs
82+
// Get the Microsoft bot's ID from Graph APIs
8383
const users = await graphClient.api("/users")
8484
.filter(filterConditions)
8585
.select('displayName,id')
8686
.get();
87-
//here we assume that you have a function getBotFromUsers that gets the bot from the returned response
87+
//Here we assume that you have a function getBotFromUsers that gets the bot from the returned response
8888
const bot = getBotFromUsers(users);
89-
// create an identifier
90-
const botIdentifier = { botId: bot.id};
89+
// Create an identifier
90+
const botIdentifier = { botId: bot.id };
9191

92-
// if you're not operating in the public cloud, you must also pass the right Cloud type.
93-
// You can also specify tenantized bots by setting the isResourceAccountConfigured flag to true.
94-
// The flag is false if the bot is global and no resource account is configured.
95-
const gcchBotIdentifier = { botId: id, cloud: "gcch", isResourceAccountConfigured: true};
92+
// If you're not operating in the public cloud, you must also pass the right Cloud type.
93+
// If you use Azure Bot Framework instead of Teams Voice applications, set property isResourceAccountConfigured to false.
94+
const gcchBotIdentifier = { botId: id, cloud: "gcch", isResourceAccountConfigured: true };
9695
```
9796

9897
#### API reference

articles/communication-services/concepts/includes/identifiers/identifiers-net.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ var phoneNumber = new PhoneNumberIdentifier("+112345556789");
7171

7272
[PhoneNumberIdentifier](/dotnet/api/azure.communication.phonenumberidentifier)
7373

74-
### Microsoft Bot Identifier
74+
### Microsoft bot
7575

7676
> [!NOTE]
7777
> The Microsoft Bot Identifier is currently in public preview. For more information about previews, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
@@ -81,22 +81,21 @@ The `MicrosoftBotIdentifier` interface represents a Microsoft bot with its Azure
8181
#### Basic usage
8282

8383
```csharp
84-
// get the Microsoft bot's ID from Graph APIs
84+
// Get the Microsoft bot's ID from Graph APIs
8585
var users = await graphClient.Users.GetAsync((requestConfiguration) =>
8686
{
8787
requestConfiguration.QueryParameters.Select = new string []{ "displayName","id" };
8888
requestConfiguration.QueryParameters.Filter = filterConditions;
8989
});
9090

91-
//here we assume that you have a function GetBotFromUsers that gets the bot from the returned response
91+
// Here we assume that you have a function GetBotFromUsers that gets the bot from the returned response
9292
var bot = GetBotFromUsers(users);
9393

94-
// create an identifier
94+
// Create an identifier
9595
var botIdentifier = new MicrosoftBotIdentifier(bot.Id);
9696

97-
// if you're not operating in the public cloud, you must also pass the right Cloud type.
98-
// You can also specify tenantized bots by setting the isResourceAccountConfigured flag to true.
99-
// The flag is false if the bot is global and no resource account is configured.
97+
// If you're not operating in the public cloud, you must also pass the right Cloud type.
98+
// If you use Azure Bot Framework instead of Teams Voice applications, set property isResourceAccountConfigured to false.
10099
var gcchBotIdentifier = new MicrosoftBotIdentifier(bot.Id, true, CommunicationCloudEnvironment.Gcch);
101100
```
102101

articles/communication-services/concepts/includes/identifiers/identifiers-python.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ phone_number = PhoneNumberIdentifier("+112345556789")
6969

7070
[PhoneNumberIdentifier](/python/api/azure-communication-chat/azure.communication.chat.phonenumberidentifier)
7171

72-
### Microsoft Bot Identifier
72+
### Microsoft bot
7373

7474
> [!NOTE]
7575
> The Microsoft Bot Identifier is currently in public preview. For more information about previews, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
@@ -79,18 +79,17 @@ The `MicrosoftBotIdentifier` interface represents a Microsoft bot with its Azure
7979
#### Basic usage
8080

8181
```python
82-
# get the Microsoft bot's ID from Graph APIs
82+
# Get the Microsoft bot's ID from Graph APIs
8383
users = graph_client.get("/users").json()
8484

85-
# here we assume that you have a function get_bot_from_users that gets the bot from the returned response
85+
# Here we assume that you have a function get_bot_from_users that gets the bot from the returned response
8686
bot = get_bot_from_users(users);
8787

88-
# create an identifier
88+
# Create an identifier
8989
bot_identifier = MicrosoftBotIdentifier(bot_id=bot.get("id"))
9090

9191
# If you're not operating in the public cloud, you must also pass the right Cloud type.
92-
# You can also specify tenantized bots by setting the is_resource_account_configured flag to true.
93-
# The flag is false if the bot is global and no resource account is configured.
92+
# If you use Azure Bot Framework instead of Teams Voice applications, set property isResourceAccountConfigured to false.
9493
gcch_bot_identifier = MicrosoftBotIdentifier(
9594
bot_id=bot.get("id"),
9695
is_resource_account_configured=True,

0 commit comments

Comments
 (0)