Exemple #1
0
        public async void ShowItem(TelegramBotClient BotClient, System.Object message, InlineButton inlineButton, DataBaseContext baseContext)
        {
            CallbackQuery _message = message as CallbackQuery;

            Telegram.Bot.Types.ReplyMarkups.InlineKeyboardMarkup answer = inlineButton.BuyShow(message, baseContext);
            await BotClient.EditMessageTextAsync(_message.From.Id, _message.Message.MessageId, "Выберете статью: ", replyMarkup : answer);
        }