Skip to content
10 changes: 9 additions & 1 deletion msteams-platform/concepts/bots/bots-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Get context for your bot
description: Describes how to get context for bots in Microsoft Teams
keywords: teams bots context
ms.date: 02/27/2018
---

# Get context for your Microsoft Teams bot
Expand Down Expand Up @@ -79,7 +80,14 @@ await context.PostAsync($"People in this conversation: {sb.ToString()}");
```

> [!NOTE]
> The `GetTeamsConversationMembersAsync(teamId, tenantId)` override is now obsolete. If your code uses this override, update it to use `IConversations.GetConversationMembersAsync(conversationId)`; then use `AsTeamsChannelAccount` to get the extended properties.
> The `GetTeamsConversationMembersAsync(teamId, tenantId)` override is now obsolete. If your code uses this override, update it to use `IConversations.GetConversationMembersAsync(conversationId)` and use `AsTeamsChannelAccount` to get the extended properties, for example:
>```csharp
>var members = await connector.Conversations.GetConversationMembersAsync(message.Conversation.Id);
>foreach (var member in members.AsTeamsChannelAccounts())
>{
> [...]
>}
>```

#### Node.js example

Expand Down
2 changes: 1 addition & 1 deletion msteams-platform/resources/design/framework/submitting.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Include two icons, a full color icon and a white icon on a transparent backgroun
This icon should be 192 x 192 pixels. Your icon can be any color (or colors), but the background should be your branded accent color. It should also have some padding surrounding the icon to accommodate the hexagonal cropping for the bot version of the icon. Place your logo inside a safe region of 96 x 96 pixels.

#### White icon on transparent background
This icon should be 32 x 32 pixels. The icon must be white on a transparent background, and must contain no other colors. There should be no extra padding surrounding your icon.
This icon should be 32 x 32 pixels. It must be white on a transparent background, with no extra padding and no other colors. Avoid using words or letters in the icon: they’ll be so small that they probably won’t be legible. If you need to include letters, don’t use more than three.

![Icon showcase](~/assets/images/framework/framework_submit_icon.png)

Expand Down
2 changes: 1 addition & 1 deletion msteams-platform/scenarios/bots-personal-conversations.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Activity newActivity = new Activity()
};

// Post the message to chat conversation with user
await client.Conversations.SendToConversationAsync(newActivity, response.Id);
await client.Conversations.SendToConversationAsync(newActivity);
```

#### Node.js example
Expand Down