Click or drag to resize

Channel Class

DTO representing Slack channel
Inheritance Hierarchy
SystemObject
  NetQuarry.Services.SlackChannel

Namespace:  NetQuarry.Services.Slack
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class Channel

The Channel type exposes the following members.

Constructors
  NameDescription
Public methodChannel
Initializes a new instance of the Channel class
Top
Properties
  NameDescription
Public propertycreated
UNIX timestamp
Public propertycreator
User ID of the member that created this channel
Public propertyid
The channel ID
Public propertyis_archived
is_archived will be true if the channel is archived.
Public propertyis_general
is_general will be true if this channel is the "general" channel that includes all regular team members. In most teams this is called #general but some teams have renamed it.
Public propertyis_member
is_member will be true if the calling member is part of the channel.
Public propertylast_read
last_read is the timestamp for the last message the calling user has read in this channel.
Public propertylatest
latest is the latest message in the channel.
Public propertymembers
members is a list of user ids for all users in this channel. This includes any disabled accounts that were in this channel when they were disabled.
Public propertyname
The name parameter indicates the name of the channel, without a leading hash sign.
Public propertypurpose
Purpose of this channel
Public propertytopic
Topic of this channel
Public propertyunread_count
unread_count is a full count of visible messages that the calling user has yet to read.
Public propertyunread_count_display
unread_count_display is a count of messages that the calling user has yet to read that matter to them (this means it excludes things like join/leave messages).
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also