WTelegramClientHelperGetChannelTopicsByTitleAsync Method

Asynchronously retrieves a collection of ForumTopic objects that match the provided topic title from 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>> GetChannelTopicsByTitleAsync(
	Client client,
	Channel channel,
	string topicTitle,
	StringComparison stringComparison = StringComparison.Ordinal
)

Parameters

client  Client
The source Client object.
channel  Channel
The channel where to search for topics. It must be a group (See: IsGroup).
topicTitle  String
The title of the topic to search for in the provided channel.
stringComparison  StringComparison  (Optional)
Optional. The type of string comparison to be used for topicTitle.

Default value is: Ordinal

Return Value

TaskReadOnlyCollectionForumTopic
An asynchronous operation that yields a ReadOnlyCollectionT containing the matching topics. Or null if the channel does not have any topics created or a topic with the specified name is nto found.

Example

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

See Also