diff --git a/Examples/SystemCommandsBot/SystemCommandsBot.csproj b/Examples/SystemCommandsBot/SystemCommandsBot.csproj index 7423d4a..f14db93 100644 --- a/Examples/SystemCommandsBot/SystemCommandsBot.csproj +++ b/Examples/SystemCommandsBot/SystemCommandsBot.csproj @@ -11,4 +11,4 @@ - + \ No newline at end of file diff --git a/TelegramBotBase.Test/packages.config b/TelegramBotBase.Test/packages.config new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/TelegramBotBase.Test/packages.config @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/TelegramBotBase/Form/CallbackData.cs b/TelegramBotBase/Form/CallbackData.cs index d1cf35c..8385551 100644 --- a/TelegramBotBase/Form/CallbackData.cs +++ b/TelegramBotBase/Form/CallbackData.cs @@ -64,4 +64,6 @@ public class CallbackData return null; } -} \ No newline at end of file + + public static implicit operator string(CallbackData callbackData) => callbackData.Serialize(); +} diff --git a/TelegramBotBase/TelegramBotBase.nuspec b/TelegramBotBase/TelegramBotBase.nuspec index 12c8077..7e14769 100644 --- a/TelegramBotBase/TelegramBotBase.nuspec +++ b/TelegramBotBase/TelegramBotBase.nuspec @@ -1,29 +1,27 @@  - - TelegramBotBase - 2.1.0 - TelegramBotBase - TelegramBotBase - false - MIT - https://github.com/MajMcCloud/TelegramBotFramework - Package Description - - moving from .Net Framework 4.7.2 to .Net Standard 2.1 for the Library and .Net Core 3.0 for the - test project! - - - - - - - - - - - - - - - + + TelegramBotBase + 2.1.0 + TelegramBotBase + TelegramBotBase + false + MIT + https://github.com/MajMcCloud/TelegramBotFramework + Package Description + - moving from .Net Framework 4.7.2 to .Net Standard 2.1 for the Library and .Net Core 3.0 for the test project! + + + + + + + + + + + + + +