public Task <MiddlewareData> RenderAsync(MiddlewareData data) { var messageContent = new MessageContent(Text); InlineKeyboardMarkup.Nullable().IfPresent(m => messageContent.ReplyMarkup = m); var message = new TelegramOutMessage(messageContent) { UpdateMessage = Update, MessageId = MessageId, ChatId = ChatId }; return(Task.FromResult(data.AddRenderMessageFeature(message))); }