Public async Task RespFromTelegram(Update update) This.botClient = new TelegramBotClient( " !!!!!!!!") Private readonly TelegramBotClient botClient LambdaLogger.Log("exception: " + e.Message) LambdaLogger.Log("REQUEST: " + JsonConvert.SerializeObject(request)) Īwait connect.RespFromTelegram(updateEvent) Public async Task FunctionHandler(JObject request, ILambdaContext context) Private static readonly AmazonLambdaClient lambdaClient private static readonly PostContentAsync sesion Private static readonly AmazonLexClient lexclient Using /start command, you can start registration (Image 1). It doesn’t matter what kind of application you use, and find bot. For this step, go to telegram application. NET /C# code on AWS Lambda, you need:įirst of all, you have to register your bot in telegram. Toolsįor developing and deploying telegram bot using. That is, we will create a web application that will spin on a remote host and receive commands from users. In this article, I will give an example of writing an online bot using C# /. It may seem that creating bot telegrams in C# is difficult, but I want to show that it is not. In addition to the fact that the network is already full of information about various kinds of Telegram bots, the messenger opened its API for developers, and now everyone can create their own bot. Today, I would like to talk about an equally cool feature in Telegram, namely bots. Moreover, no one will have access to your messages. One of the main "tricks" of Telegram is its supposed security - according to Pavel Durov, all correspondence between users is encrypted. Telegram has become popular these days and has more than 500 million users.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |