Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

ChannelSubscribers

ChannelSubscribers[channel]
gives a list of users currently subscribed to the specified channel.

ChannelSubscribers[{channel1,channel2,}]
gives a list of subscribed users for each of the channels channeli.

Details and OptionsDetails and Options

  • In ChannelSubscribers[channel], channel can be specified as a channel object or in any of the forms used inside ChannelObject.
  • You must have execute permission on a channel to receive a list of subscribers.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Create a channel, subscribe to it, and get a subscriber list:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Unsubscribe:

In[4]:=
Click for copyable input
Out[4]=

The channel no longer has subscribers:

In[5]:=
Click for copyable input
Out[5]=

Delete the channel:

In[6]:=
Click for copyable input
Out[6]=
Introduced in 2016
(11.0)