WTelegramClientHelperGetChannelsByTitleAsync Method

Asynchronously retrieves a collection of Channel objects that match the provided channel title.

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<Channel>> GetChannelsByTitleAsync(
	Client client,
	string channelTitle,
	StringComparison stringComparison = StringComparison.Ordinal
)

Parameters

client  Client
The source Client object.
channelTitle  String
The title of the channel or group to search for.
stringComparison  StringComparison  (Optional)
Optional. The type of string comparison to be used for channelTitle.

Default value is: Ordinal

Return Value

TaskReadOnlyCollectionChannel
An asynchronous operation that yields a ReadOnlyCollectionT containing the matching channels.

Example

This is a code example to get all channels matching the specified title.
C#
No code example is currently available or this language may not be supported.

See Also