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 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.

Examples

open allclose all

Basic Examples  (1)

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

Unsubscribe:

The channel no longer has subscribers:

Delete the channel:

Scope  (2)

Start listening on a channel and get the subscriber list by channel name:

Unsubscribe:

Subscriber lists for two channels:

Unsubscribe:

Delete the channels:

Get subscribers by ChannelObject:

Unsubscribe:

Delete the channel:

Applications  (2)

Create a few channels and start listening on them:

List the users currently listening on each of the channels that you own:

Associate channels with channel users:

Delete the new channels:

Start listening on some channels and find who is listening with you:

Delete the channels, which removes the listeners:

Wolfram Research (2016), ChannelSubscribers, Wolfram Language function, https://reference.wolfram.com/language/ref/ChannelSubscribers.html.

Text

Wolfram Research (2016), ChannelSubscribers, Wolfram Language function, https://reference.wolfram.com/language/ref/ChannelSubscribers.html.

CMS

Wolfram Language. 2016. "ChannelSubscribers." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ChannelSubscribers.html.

APA

Wolfram Language. (2016). ChannelSubscribers. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ChannelSubscribers.html

BibTeX

@misc{reference.wolfram_2024_channelsubscribers, author="Wolfram Research", title="{ChannelSubscribers}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/ChannelSubscribers.html}", note=[Accessed: 25-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_channelsubscribers, organization={Wolfram Research}, title={ChannelSubscribers}, year={2016}, url={https://reference.wolfram.com/language/ref/ChannelSubscribers.html}, note=[Accessed: 25-April-2024 ]}