sochix / TLSharp

Telegram client library implemented in C#
1k stars 380 forks source link

#how to get all channel list in lib tlsharp #889

Open Mohammad-amiri-code opened 4 years ago

Mohammad-amiri-code commented 4 years ago

help !

elmagekmosaad commented 4 years ago

Dim dialogs As TLDialogsSlice = Await client.GetUserDialogsAsync() Dim chats As IEnumerable(Of TLAbsChat) = dialogs.chats Dim channelx = dialogs.chats.lists.OfType(Of TLChannel)() 'channelx = all channels