Class TeamChannel
Defines a Channel for a Team
Inherited Members
Namespace: PnP.Framework.Provisioning.Model.Teams
Assembly: PnP.Framework.dll
Syntax
public class TeamChannel : BaseModel, IProvisioningTemplateDescendant
Constructors
TeamChannel()
Constructor for TeamChannel
Declaration
public TeamChannel()
Properties
AllowNewMessageFromBots
Declares whether the Channel allows messages from BOTs or not, optional attribute (default false).
Declaration
public bool AllowNewMessageFromBots { get; set; }
Property Value
System.Boolean
|
AllowNewMessageFromConnectors
Declares whether the Channel allows messages from Connectors or not, optional attribute (default false).
Declaration
public bool AllowNewMessageFromConnectors { get; set; }
Property Value
System.Boolean
|
Description
Defines the Description of the Channel
Declaration
public String Description { get; set; }
Property Value
String
|
DisplayName
Defines the Display Name of the Channel
Declaration
public String DisplayName { get; set; }
Property Value
String
|
ID
Declares the ID for the Channel
Declaration
public String ID { get; set; }
Property Value
String
|
IsFavoriteByDefault
Defines whether the Channel is Favorite by default for all members of the Team
Declaration
public Boolean? IsFavoriteByDefault { get; set; }
Property Value
System.Nullable<Boolean>
|
MembershipType
Declares whether the Channel is Public, Private, or Shared, optional attribute (default public).
Declaration
public MembershipType MembershipType { get; set; }
Property Value
MembershipType
|
Messages
Defines a collection of Messages for a Team Channe
Declaration
public TeamChannelMessageCollection Messages { get; }
Property Value
TeamChannelMessageCollection
|
Private
Declares whether the Channel is private or not
Declaration
public bool Private { get; set; }
Property Value
System.Boolean
|
ReplyRestriction
Declares the Channel reply restrictions, optional attribute (default everyone).
Declaration
public ReplyRestriction ReplyRestriction { get; set; }
Property Value
ReplyRestriction
|
TabResources
Defines a collection of Resources for Tabs in a Team Channel
Declaration
public TeamTabResourceCollection TabResources { get; }
Property Value
TeamTabResourceCollection
|
Tabs
Defines a collection of Tabs for a Channel in a Team
Declaration
public TeamTabCollection Tabs { get; }
Property Value
TeamTabCollection
|
UserNewMessageRestriction
Declares the Channel reply restrictions, optional attribute (default everyone).
Declaration
public UserNewMessageRestriction UserNewMessageRestriction { get; set; }
Property Value
UserNewMessageRestriction
|
Methods
Equals(TeamChannel)
Compares TeamChannel object based on Tabs, TabResources, Messages, DisplayName, Description, and IsFavoriteByDefault
Declaration
public bool Equals(TeamChannel other)
Parameters
TeamChannel
other
TeamChannel Class object |
Returns
System.Boolean
true if the TeamChannel object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with TeamChannel class
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents TeamChannel |
Returns
System.Boolean
Checks whether object is TeamChannel class |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |