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.
|
AllowNewMessageFromConnectors
Declares whether the Channel allows messages from Connectors or not, optional attribute (default false).
Declaration
public bool AllowNewMessageFromConnectors { get; set; }
Property Value
System.
|
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.
|
MembershipType
Declares whether the Channel is Public, Private, or Shared, optional attribute (default public).
Declaration
public MembershipType MembershipType { get; set; }
Property Value
Messages
Defines a collection of Messages for a Team Channe
Declaration
public TeamChannelMessageCollection Messages { get; }
Property Value
Private
Declares whether the Channel is private or not
Declaration
public bool Private { get; set; }
Property Value
System.
|
ReplyRestriction
Declares the Channel reply restrictions, optional attribute (default everyone).
Declaration
public ReplyRestriction ReplyRestriction { get; set; }
Property Value
TabResources
Defines a collection of Resources for Tabs in a Team Channel
Declaration
public TeamTabResourceCollection TabResources { get; }
Property Value
Tabs
Defines a collection of Tabs for a Channel in a Team
Declaration
public TeamTabCollection Tabs { get; }
Property Value
UserNewMessageRestriction
Declares the Channel reply restrictions, optional attribute (default everyone).
Declaration
public UserNewMessageRestriction UserNewMessageRestriction { get; set; }
Property Value
Methods
Equals(TeamChannel)
Compares TeamChannel object based on Tabs, TabResources, Messages, DisplayName, Description, and IsFavoriteByDefault
Declaration
public bool Equals(TeamChannel other)
Parameters
Team TeamChannel Class object |
Returns
System. 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 that represents TeamChannel |
Returns
System. Checks whether object is TeamChannel class |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System. Returns HashCode |