Table of Contents

Interface ITeamChannel

Namespace
PnP.Core.Model.Teams
Assembly
PnP.Core.dll

Defines a Channel of Microsoft Teams

public interface ITeamChannel : IDataModel<ITeamChannel>, IDataModelParent, IDataModelWithContext, ISupportModules<ITeamChannel>, IDataModelGet<ITeamChannel>, IDataModelLoad<ITeamChannel>, IDataModelUpdate, IDataModelDelete, IQueryableDataModel
Inherited Members
Extension Methods

Properties

CreatedDateTime

Timestamp at which the channel was created

DateTime CreatedDateTime { get; }

Property Value

DateTime

Description

The description of the Team Channel

string Description { get; set; }

Property Value

string

DisplayName

The display name of the Team Channel

string DisplayName { get; set; }

Property Value

string

Email

The email address of the Team Channel

string Email { get; }

Property Value

string

FilesFolderWebUrl

The fully qualified url for the SharePoint folder hosting this channel's files (uses Graph Beta)

Uri FilesFolderWebUrl { get; }

Property Value

Uri

Id

The Unique ID of the Team Channel

string Id { get; }

Property Value

string

IsFavoriteByDefault

Defines whether the Team Channel is favorite by default in the Team

bool IsFavoriteByDefault { get; set; }

Property Value

bool

MembershipType

Defines the Membership type for the Team Channel

TeamChannelMembershipType MembershipType { get; set; }

Property Value

TeamChannelMembershipType

Messages

Messages in this Team Channel Implements IQueryable<T>.
See Requesting model collections and IQueryable performance considerations to learn more.

ITeamChatMessageCollection Messages { get; }

Property Value

ITeamChatMessageCollection

Tabs

Tabs in this Channel Implements IQueryable<T>.
See Requesting model collections and IQueryable performance considerations to learn more.

ITeamChannelTabCollection Tabs { get; }

Property Value

ITeamChannelTabCollection

WebUrl

The Web URL of the Team Channel

Uri WebUrl { get; }

Property Value

Uri

Methods

GetFilesFolder(params Expression<Func<IFolder, object>>[])

Gets the IFolder hosting the files of this channel

IFolder GetFilesFolder(params Expression<Func<IFolder, object>>[] expressions)

Parameters

expressions Expression<Func<IFolder, object>>[]

Properties of the folder to load

Returns

IFolder

Folder hosting the files of this channel

GetFilesFolderAsync(params Expression<Func<IFolder, object>>[])

Gets the IFolder hosting the files of this channel

Task<IFolder> GetFilesFolderAsync(params Expression<Func<IFolder, object>>[] expressions)

Parameters

expressions Expression<Func<IFolder, object>>[]

Properties of the folder to load

Returns

Task<IFolder>

Folder hosting the files of this channel