Closed pro100Valerius closed 2 years ago
আমি বুঝতে পারছি না, ইংরেজিতে লিখুন।
Good afternoon! My name is Valery. I decided to write my own small Telegram client and took your test project for WinForm WTelegramClientTestWFas a starting point. I did not make any changes to the source code of the project - I just imported it into Visual Studio and ran it in debug mode. After successful authorization, I clicked the "Send to" button on the form ( msg = Interaction.InputBox("Type some text to send to ourselves\n(Saved Messages)", "Send to self"); ). After that, I simply entered the text "Test" in the input field and clicked the "OK" button. And immediately got a ban on my Telegram account. For what reason could this happen? To whom was the word "Test" sent?
I want to write to the telegram support service, but I need to explain to them the reason for what happened. And I myself do not know what the program did after pressing the Send to button. The poet asked you this question.
sorry by my Endlish ( ((((
I just tested again WTelegramClientTestWF, it works. Telegram probably didn't like your phone number.
See this FAQ to prevent getting banned and also this FAQ if you think you've been restricted.
You can try to tell Telegram support you just started testing WTelegramClient library and did nothing wrong.
Thanks for your reply.
I wrote to Telegram support.
I just started learning C# and don't fully understand the code.
If possible, briefly explain to me what this method does.
To whom is the message being sent?
private async void buttonSendMsg_Click(object sender, EventArgs e) { var msg = Interaction.InputBox("Type some text to send to ourselves\n(Saved Messages)", "Send to self"); if (!string.IsNullOrEmpty(msg)) { msg = "Here is your saved message:\n" + Markdown.Escape(msg); var entities = _client.MarkdownToEntities(ref msg); await _client.SendMessageAsync(InputPeer.Self, msg, entities: entities); }
Thanks again for your help
Добрый день! Меня зовут Валерий. Я только начал изучать C#, поэтому имею минимальные навыки. Решил написать собственный небольшой клиент Telegram и в качестве отправной точки взял ваш тестовый проект для WinForm. Никаких изменений я в исходный код проекта не вносил - просто импортировал в Visual Studio и запустил в режиме отладки. После успешной авторизации я на форме нажал кнопку "Send to" ( msg = Interaction.InputBox("Type some text to send to ourselves\n(Saved Messages)", "Send to self"); ). После этого в поле ввода просто ввел текст "Test" и нажал кнопку "OK". И сразу получил бан аккаунта Telegram. По какой причине это могло произойти? Кому был послано слово "Test" ?
Я хочу написать в службу поддержки telegram , но мне нужно объяснить им причину произошедшего. А я сам не знаю, что программа сделала после нажатия кнопки Send to. Поэтом и задал вам этот вопрос.