* README tweaks
This commit is contained in:
@@ -40,7 +40,6 @@ using Telegrator.Hosting.Web;
|
||||
TelegramBotWebHostBuilder builder = TelegramBotWebHost.CreateBuilder(new TelegramBotWebOptions()
|
||||
{
|
||||
Args = args,
|
||||
WebhookUri = "https://you-public-host.ru/bot"
|
||||
ExceptIntersectingCommandAliases = true
|
||||
});
|
||||
|
||||
@@ -66,6 +65,11 @@ telegramBot.Run();
|
||||
"TelegramBotClientOptions": {
|
||||
"Token": "YOUR_BOT_TOKEN"
|
||||
}
|
||||
|
||||
"TelegratorWebOptions": {
|
||||
"WebhookUri" = "https://you-public-host.ru/bot",
|
||||
"DropPendingUpdates": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user