Questions tagged [wtelegramclient]

WTelegramClient is an open-source Telegram Client API library written 100% in C# and .NET Standard. It allows you to log in to Telegram as a user and automate certain tasks. You can post questions on StackOverflow about its usage, or on how to access certain features of the Telegram Client API with the library.

WTelegramClient is an open-source Telegram Client API library written 100% in C# and .NET Standard. It allows you to log in to Telegram as a user and automate certain tasks.

You can use it in your program through the Nuget package.

You can post questions on StackOverflow about its usage, or on how to access certain features of the Telegram Client API with the library.

55 questions
0
votes
1 answer

WTelegramClient not reconnecting after Internet connection is lost

I use WTelegramClient. The client does not reconnect after the Internet connection is restored. Showing this: Connecting to 149.154.167.91:443... SocketException HostUnreachable (10065): A socket operation was attempted to an unreachable…
0
votes
1 answer

PEER_ID_INVALID when sending message to new user

How i can send message to new user via WTelegramClient? var peer = new InputPeerUser(user.id,user.access_hash); await _client.SendMessageAsync(peer, "hello"); it returns peer_id_invalid. Why?
Deegar
  • 1
  • 2
0
votes
1 answer

How to Upload Streamable Video?

I want to ask. I upload video with UploadFileAsync and Post with SendMediaAsync but when I check chat there is show file without thumbnail and can't streaming (like common doc file). Can you show me how to use it for watch stream? Here is my…
-1
votes
1 answer

Telegram Bot throws error only when published

Hi I'm using this library https://www.nuget.org/packages/WTelegramClient/3.2.3-dev.3 I built fully working Telegram bot, but for some reason it works only in debug mode in visual studio. When I run the application in debug mode it allows me to input…
-1
votes
1 answer

Does anyone have a example for WTelegramClient using ASP.NET Webforms

Does anyone have an Example for WTelegramClient using ASP.NET Webforms. I have tried the following now I am getting FLOOD_WAIT_X errors with all the running and debugging. The Telegram details are entered into textbox's on the form. On Pageload the…
-1
votes
1 answer

How to use wtelegramclient library in C# to sign up?

I want to use wtelegramclient library to register a telegram account via api, I used to use tlshape library and it works but with wtelegramclient I don't find a support function for this. Register an account on…
-2
votes
1 answer

How can I comment on a post in a telegram channel (WTelegramClient)?

How can I comment on a post in a channel using WTelegramClient? I didn't find anything similar in the examples. If possible, could you provide an example of sending a comment to a specific post in a channel. https://github.com/wiz0u/WTelegramClient
VooDee
  • 11
  • 1
-2
votes
1 answer

How to raise exceptions if telegram requests an SMS code WTelegramClient C#

I have such a task, I have ready-made sessions to which I connect, and sometimes there is a non-existent session and when you enter api_id, api_hash, the phone instead of authorization asks me to enter a confirmation code, so I have a question -…
Igor Biyar
  • 19
  • 4
-3
votes
1 answer

Send to public group, not send myself

How to send message to Public Group contain my bot already (using your C# code)? //below only send to myself Interaction.InputBox("Type some text to send to ourselves\n(Saved Messages)", "Send to self");
1 2 3
4