1

How can i add user to telegram group by username. I have try using this method

await TelegramClient.Channels_InviteToChannel(target, inputUsers.ToArray());

The code didn't add the member to the group and there was no error or exception

Yemight
  • 21
  • 2

1 Answers1

1

No error or exception?

Maybe inputUsers array was empty, or the users were already in the group/channel.

Here are examples on how to add/invite/remove members in a chat

Wizou
  • 1,336
  • 13
  • 24