WTelegramClientHelperGetChannelTopicsAsync Method

Asynchronously retrieves a collection of ForumTopic objects containing the topics from the the provided channel.

Definition

Namespace: DevCase.ThirdParty.WTelegramClient
Assembly: DevCase.net48.ThirdParty.WTelegramClient (in DevCase.net48.ThirdParty.WTelegramClient.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Task<ReadOnlyCollection<ForumTopic>> GetChannelTopicsAsync(
	Client client,
	Channel channel
)

Parameters

client  Client
The source Client object.
channel  Channel
The channel from which to retrieve topics. It must be a group (See: IsGroup.

Return Value

TaskReadOnlyCollectionForumTopic
An asynchronous operation that yields a ReadOnlyCollectionT containing the topics from the group. Or null if the channel does not have any topics created.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also