Y
Y
yz9xhxuzlk2021-08-30 11:17:51
C++ / C#
yz9xhxuzlk, 2021-08-30 11:17:51

Why does telegram api communication error occur?

612c944674890436362416.png
612c9455b8272653722250.pngwhat is the error of this request, why is there no connection with the server if I do everything right?

{
                    string response = c.DownloadString(
                        "https://api.telegram.org/bot" + token + "/sendMessage" +
                        "?chat_id=" + chatid +
                        "&text=" + text +
                        "&parse_mode=Markdown" +
                        "&disable_web_page_preview=True"
                    );
                    return false;
                }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question