Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 588 Bytes

File metadata and controls

19 lines (13 loc) · 588 Bytes
description Automatically generated file. DO NOT MODIFY
// Code snippets are only available for the latest version. Current version is 6.x

GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);

Channel channel = new Channel();
channel.setDisplayName("Project Collaboration");
channel.setDescription("Discussion space for project team collaboration");
channel.setMembershipType(ChannelMembershipType.Standard);
channel.setLayoutType(ChannelLayoutType.Chat);
Channel result = graphClient.teams().byTeamId("{team-id}").channels().post(channel);