From edaa082e9372ee272a08feecb642d8c6672c02c0 Mon Sep 17 00:00:00 2001 From: Florian Zevedei Date: Wed, 13 Sep 2023 14:51:13 +0200 Subject: [PATCH] Renaming label control --- TelegramBotBase/Controls/Inline/Label.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TelegramBotBase/Controls/Inline/Label.cs b/TelegramBotBase/Controls/Inline/Label.cs index 7c12011..429e505 100644 --- a/TelegramBotBase/Controls/Inline/Label.cs +++ b/TelegramBotBase/Controls/Inline/Label.cs @@ -12,7 +12,7 @@ using TelegramBotBase.Localizations; namespace TelegramBotBase.Controls.Inline; [DebuggerDisplay("{Text}")] -public class LabelControl : ControlBase +public class Label : ControlBase { private bool _renderNecessary = true; @@ -52,16 +52,16 @@ public class LabelControl : ControlBase } - public LabelControl() + public Label() { } - public LabelControl(string text) + public Label(string text) { _text = text; } - public LabelControl(string text, ParseMode parseMode) + public Label(string text, ParseMode parseMode) { _text = text; _parseMode = parseMode;