diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d0df84a..127e0a9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,7 +1,7 @@ trigger: - master -name: 0.7.$(Rev:r) +name: 0.7-alpha.$(Rev:r) pool: vmImage: ubuntu-latest @@ -31,7 +31,8 @@ steps: - task: NuGetCommand@2 inputs: command: 'push' - packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' + packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.*upkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.*upkg' + publishPackageMetadata: true nuGetFeedType: 'internal' publishVstsFeed: 'wiz0u' diff --git a/src/Client.cs b/src/Client.cs index 88df549..99adaf6 100644 --- a/src/Client.cs +++ b/src/Client.cs @@ -490,12 +490,10 @@ namespace WTelegram } } - //TODO: include XML comments in nuget? - /// Helper function to send a text or media message more easily /// destination of message /// media caption - /// or a media file already uploaded to TG (see UploadFileAsync) + /// media file already uploaded to TG (see ) /// for automatic detection, "photo" for an inline photo, or a MIME type to send as a document public Task SendMediaAsync(InputPeer peer, string caption, InputFileBase mediaFile, string mimeType = null, int reply_to_msg_id = 0, MessageEntity[] entities = null, DateTime schedule_date = default, bool disable_preview = false) { diff --git a/src/WTelegramClient.csproj b/src/WTelegramClient.csproj index 73e5713..a17cb68 100644 --- a/src/WTelegramClient.csproj +++ b/src/WTelegramClient.csproj @@ -4,9 +4,23 @@ Library net5.0 WTelegram + true + True + true + snupkg + true + WTelegramClient Telegram client library written 100% in C# and .NET Core Wizou + Copyright © Olivier Marcoux 2021 + Telegram;Client;Api;UserBot;MTProto https://github.com/wiz0u/WTelegramClient + https://github.com/wiz0u/WTelegramClient.git + git + + + + 1701;1702;1573;1591;0419 @@ -17,6 +31,7 @@ +