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
|
class Program
|
||||||
{
|
{
|
||||||
static void Main(string[] args)
|
static async void Main(string[] args)
|
||||||
{
|
{
|
||||||
|
|
||||||
String APIKey = "";
|
String APIKey = "";
|
||||||
@ -43,7 +43,7 @@ namespace TelegramBotBaseTest
|
|||||||
bb.BotCommand += Bb_BotCommand;
|
bb.BotCommand += Bb_BotCommand;
|
||||||
|
|
||||||
//Update Bot commands to botfather
|
//Update Bot commands to botfather
|
||||||
bb.UploadBotCommands().Wait();
|
await bb.UploadBotCommands();
|
||||||
|
|
||||||
bb.SetSetting(TelegramBotBase.Enums.eSettings.LogAllMessages, true);
|
bb.SetSetting(TelegramBotBase.Enums.eSettings.LogAllMessages, true);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user