TeamsChannel Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a Teams channel and provides methods to register handlers for channel events.
public class TeamsChannel
type TeamsChannel = class
Public Class TeamsChannel
- Inheritance
-
TeamsChannel
Methods
| Name | Description |
|---|---|
| OnChannelEventReceived(ChannelUpdateHandler, String[], UInt16) |
Registers a handler to be invoked for any channel update event. Use ConversationEventType to differentiate between channel update event types (e.g. created, deleted, etc.) using:
|
| OnCreated(ChannelUpdateHandler, String[], UInt16) |
Registers a handler to be invoked when a new Teams channel is created. |
| OnDeleted(ChannelUpdateHandler, String[], UInt16) |
Registers a handler to be invoked when a Teams channel is deleted. |
| OnMemberAdded(ChannelUpdateHandler, String[], UInt16) |
Registers a handler to be invoked when a Teams channel member is added. |
| OnMemberRemoved(ChannelUpdateHandler, String[], UInt16) |
Registers a handler to be invoked when a Teams channel member is removed. |
| OnRenamed(ChannelUpdateHandler, String[], UInt16) |
Registers a handler to be invoked when a Teams channel is renamed. |
| OnRestored(ChannelUpdateHandler, String[], UInt16) |
Registers a handler to be invoked when a Teams channel is restored. |
| OnShared(ChannelUpdateHandler, String[], UInt16) |
Registers a handler to be invoked when a Teams channel is shared. |
| OnUnshared(ChannelUpdateHandler, String[], UInt16) |
Registers a handler to be invoked when a Teams channel is unshared. |