سلام

من از متد Wait تو پروژم ستفاده کردم و وقتی که اجرا میشه همه پروژه میره تو حالت Wait و نمیتونم از بقیه فرمهام استفاده کنم
راه حلی سراغ دارین ؟

 public async static Task BotAsync() {

TelegramBotClient bot = new TelegramBotClient("0000000000000000000000000000yHo g");

int Ofsset = 0;
while (true)
{

var Updates = await bot.GetUpdatesAsync(offset: Ofsset);

foreach (var update in Updates)

{
Ofsset = update.Id + 1;
if (update.Type == Telegram.Bot.Types.Enums.UpdateType.MessageUpdate)
{
if (update.Message.Text.Contains("/start"))
{
bot.SendTextMessageAsync(update.Message.From.Id, "سلام");
}
}

}

}

}