From ea29ae645ef045e0b9702d26e8cb403577af3d80 Mon Sep 17 00:00:00 2001 From: Simon Oxtoby Date: Thu, 12 Dec 2024 09:52:47 +1000 Subject: [PATCH] Obsolete messages on old Upload methods refer to the correct type --- SlackNet/WebApi/FilesApi.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SlackNet/WebApi/FilesApi.cs b/SlackNet/WebApi/FilesApi.cs index c27a506..36d8b82 100644 --- a/SlackNet/WebApi/FilesApi.cs +++ b/SlackNet/WebApi/FilesApi.cs @@ -90,7 +90,7 @@ Task List( /// Provide another message's value to upload this file as a reply. Never use a reply's Ts value; use its parent instead. /// List of channel names or IDs where the file will be shared. /// - [Obsolete("Use the overload that takes an ExternalFile instead.")] + [Obsolete("Use the overload that takes a FileUpload instead.")] Task Upload( string fileContents, string fileType = null, @@ -114,7 +114,7 @@ Task Upload( /// Provide another message's value to upload this file as a reply. Never use a reply's Ts value; use its parent instead. /// List of channel names or IDs where the file will be shared. /// - [Obsolete("Use the overload that takes an ExternalFile instead.")] + [Obsolete("Use the overload that takes a FileUpload instead.")] Task Upload( byte[] fileContents, string fileType = null, @@ -138,7 +138,7 @@ Task Upload( /// Provide another message's value to upload this file as a reply. Never use a reply's Ts value; use its parent instead. /// List of channel names or IDs where the file will be shared. /// - [Obsolete("Use the overload that takes an ExternalFile instead.")] + [Obsolete("Use the overload that takes a FileUpload instead.")] Task Upload( Stream fileContents, string fileType = null, @@ -164,7 +164,7 @@ Task Upload( /// Provide another message's value to upload this file as a reply. Never use a reply's Ts value; use its parent instead. /// List of channel names or IDs where the file will be shared. /// - [Obsolete("Use the overload of Upload that takes an ExternalFile instead.")] + [Obsolete("Use the overload of Upload that takes a FileUpload instead.")] Task UploadSnippet( string snippet, string fileType = null,