예제 #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.VideoShow(message, baseContext);
            await BotClient.EditMessageTextAsync(_message.From.Id, _message.Message.MessageId, "Выберете статью: ", replyMarkup : answer);
        }