Create a new Telegram channel and fix rights / permissions with TLSharp

351 views Asked by At

I can create a new channel like this, where client is a TLSharp.Core.TelegramClient authenticated and conected:

TeleSharp.TL.Channels.TLRequestCreateChannel newChannel = new 
TeleSharp.TL.Channels.TLRequestCreateChannel();
            newChannel.Megagroup = true;
            newChannel.Title = channelName;
            newChannel.About = channelDescription;
return await client.SendRequestAsync<TeleSharp.TL.TLUpdates>(newChannel);

Does anyone know how to modify this permissions?
I would need to allow Add Users and then deny Send Stickers and Polls
Thank you very much!!

In the image below I show the default permissions after creation: Telegram Channel Permissions

1

There are 1 answers

1
Wizou On

TLSharp seems no longer maintained.. Try WTelegramClient instead