Update Testproject
Co-Authored-By: Alexey <110727638+ZavaruKitsu@users.noreply.github.com>
This commit is contained in:
parent
f39b1d11be
commit
dded0ae49e
@ -14,7 +14,7 @@ namespace TelegramBotBaseTest
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
static async void Main(string[] args)
|
||||
{
|
||||
|
||||
String APIKey = "";
|
||||
@ -43,7 +43,7 @@ namespace TelegramBotBaseTest
|
||||
bb.BotCommand += Bb_BotCommand;
|
||||
|
||||
//Update Bot commands to botfather
|
||||
bb.UploadBotCommands().Wait();
|
||||
await bb.UploadBotCommands();
|
||||
|
||||
bb.SetSetting(TelegramBotBase.Enums.eSettings.LogAllMessages, true);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user