1 295
Function sendMessage(id As String, text As String)
Dim token As String = ""
Dim result
If IsNothing(id) Or IsNothing(text) Then
result = False
Else
result = webClient.DownloadString("https://api.telegram.org/bot" + token + "/sendMessage?chat_id=" + id + "&text=" + text)
End If
Return result
End Function
10 лист 2018, 16:44

